diff options
author | rexim <reximkut@gmail.com> | 2024-04-01 02:35:52 +0700 |
---|---|---|
committer | rexim <reximkut@gmail.com> | 2024-04-01 02:35:52 +0700 |
commit | 986d6199376aa0f034480c60e8f1347ea3e46f04 (patch) | |
tree | 793cc9e11d235cd6a8d08fd0ae3c11ea2ce92f23 | |
parent | d9641f9b44c6982e76995d2326b93a6c20c00dc4 (diff) |
Add additional work for the camera
-rw-r--r-- | eepers.adb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1017,6 +1017,10 @@ procedure Eepers is begin Game.Camera.offset := Camera_Offset; Game.Camera.target := Game.Camera.target + Camera_Velocity*Get_Frame_Time; + -- TODO: animate zoom similarly to Game.Camera.target + -- So it looks cool when you resize the game in the window mode. + -- TODO: The tutorial signs look gross on bigger screens. + -- We need to do something with the fonts Game.Camera.zoom := C_Float'Max(Screen_Size.x/1920.0, Screen_Size.y/1080.0); end; |