summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-04-01 02:35:52 +0700
committerrexim <reximkut@gmail.com>2024-04-01 02:35:52 +0700
commit986d6199376aa0f034480c60e8f1347ea3e46f04 (patch)
tree793cc9e11d235cd6a8d08fd0ae3c11ea2ce92f23
parentd9641f9b44c6982e76995d2326b93a6c20c00dc4 (diff)
Add additional work for the camera
-rw-r--r--eepers.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/eepers.adb b/eepers.adb
index 7b526db..351d8bd 100644
--- a/eepers.adb
+++ b/eepers.adb
@@ -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;