mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user