Removed usages of Gosu.button_down? in InputMapper allowing for 'virtual input' support, tacked on demo support (recording and playback of camera yaw and pitch along with all key events in Game.), Camera now sets @game_object.y_rotation instead of @game_object setting Camera.yaw in Camera.position_camera.

This commit is contained in:
2019-02-17 20:06:48 -06:00
parent 5a97d292c0
commit 8d83901237
4 changed files with 133 additions and 28 deletions

View File

@@ -40,6 +40,10 @@ class IMICFPS
@active_state.update if @active_state
end
def button_down(id)
@active_state.button_down(id) if @active_state
end
def button_up(id)
@active_state.button_up(id) if @active_state
end