dt with dt for arrow key look

This commit is contained in:
2018-07-01 19:48:00 -05:00
parent 4c603c3a3d
commit f21032935b
2 changed files with 4 additions and 2 deletions

View File

@@ -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