From 986d6199376aa0f034480c60e8f1347ea3e46f04 Mon Sep 17 00:00:00 2001 From: rexim Date: Mon, 1 Apr 2024 02:35:52 +0700 Subject: Add additional work for the camera --- eepers.adb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eepers.adb') 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; -- cgit v1.2.3