add a per frame tick function to the game

This commit is contained in:
Tuomas Katajisto 2026-10-17 09:34:39 +03:00
parent a6f79959c0
commit 4bf23b1196

View File

@ -230,6 +230,7 @@ frame :: () {
}
if should_tick_game && !settings_menu_blocks_game() {
game_tick_per_frame(delta_time);
while delta_time_accumulator > (1.0/480.0) {
game_tick(1.0/480.0);
tick_particles(1.0/480.0);