diff options
| author | arngo <[email protected]> | 2023-05-26 16:12:34 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-26 16:12:34 -0400 |
| commit | 33dc8e4cd4987a9f439767cf23812dce835fb4a5 (patch) | |
| tree | 0693b0414d017db677296e9f00c3f050677f7ac2 /src/main.c | |
| parent | a6fe7c8e0f2b61c3950c7c8a6f6539f29875d39c (diff) | |
| download | TOJam2023-33dc8e4cd4987a9f439767cf23812dce835fb4a5.tar.gz TOJam2023-33dc8e4cd4987a9f439767cf23812dce835fb4a5.zip | |
implement enemy bullet damage
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -188,6 +188,7 @@ main_loop(void) draw_bullets(); draw_player(); draw_enemies(); + detect_bullet_enemy_collisions(); rodeo_debug_text_draw( 1, @@ -270,6 +271,9 @@ main(void) init_player(); init_enemies(); spawn_enemy(240, 240); + spawn_enemy(100, 100); + spawn_enemy(300, 100); + spawn_enemy(200, 330); rodeo_mainLoop_run( main_loop |
