aboutsummaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-06 20:30:58 +1000
committerquou <quou@disroot.org>2023-05-06 20:30:58 +1000
commita72420a85fdfe85d6a6e67b8c70ed11537d532bd (patch)
tree387ce06b39590ba1b90935fcbf71ed03c4f912b9 /game.c
parent2e0f7c263b197d72fea7701d566e4a62e892fefe (diff)
Work on visual effects; Debris and player bullet impact effects.
Diffstat (limited to 'game.c')
-rw-r--r--game.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/game.c b/game.c
index 7eebb8b..f5edb8a 100644
--- a/game.c
+++ b/game.c
@@ -176,11 +176,12 @@ static void gameplay_update(Game* game) {
update_player(player, world);
enemy_system(world);
+ debris_system(world);
bullet_system(world);
collision_system(world);
animation_system(world);
- render_map(&world->map, cx, cy);
update_camera(player, world);
+ render_map(&world->map, cx, cy);
sprite_system(world);
render_hud(game);