mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
dt with dt for arrow key look
This commit is contained in:
@@ -118,10 +118,10 @@ class IMICFPS
|
||||
end
|
||||
|
||||
if button_down?(Gosu::KbLeft)
|
||||
@y_rotation+=relative_speed*100
|
||||
@y_rotation+=(relative_speed*1000)*delta_time
|
||||
end
|
||||
if button_down?(Gosu::KbRight)
|
||||
@y_rotation-=relative_speed*100
|
||||
@y_rotation-=(relative_speed*1000)*delta_time
|
||||
end
|
||||
|
||||
if @_time_in_air
|
||||
|
||||
Reference in New Issue
Block a user