Also changed the game_update() interface to take dt in seconds as a double (rather than milliseconds as an unsigned integer) as we're now computing the refresh interval as a double anyway (by querying the display mode). To my eye (and on my machine), all chunkiness is now gone; the game feels very smooth.
2D GAME Dependencies: - libxml2 :: https://gitlab.gnome.org/GNOME/libxml2/ - SDL2 :: https://www.libsdl.org/ The build is handled with CMake (version 3.10 or later): cmake -B build cmake --build build The path to a directory containing the assets must be passed on the command line to run the game: build/app/game ASSETS-DIR
Languages
C
82.3%
Scheme
8.3%
CMake
7.6%
Shell
1.8%