diff options
| author | arngo <[email protected]> | 2023-05-30 02:00:19 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-30 02:00:19 -0400 |
| commit | 16700c6660d2a3d06792a4f3177c1b28d5d3a573 (patch) | |
| tree | ece65ad1465f85b28ace07f40295a1ada1743091 /src/main.c | |
| parent | d949d6604d574a2c50e74b7f3652147280e7a43a (diff) | |
| download | TOJam2023-16700c6660d2a3d06792a4f3177c1b28d5d3a573.tar.gz TOJam2023-16700c6660d2a3d06792a4f3177c1b28d5d3a573.zip | |
teleporting fixed but player can go through walls a bit
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -58,7 +58,7 @@ main_loop(void) draw_hp_bar(); detect_bullet_enemy_collisions(); detect_bullet_wall_collisions(); - detect_player_enemy_collisions(); + //detect_player_enemy_collisions(); detect_player_wall_collisions(); detect_enemy_wall_collisions(); @@ -125,7 +125,10 @@ main(void) { wall_init_do() { - spawn_enemy(764.0f+73.0f,500.0f); + spawn_enemy(400.0f,700.0f); + spawn_enemy(900.0f,700.0f); + spawn_enemy(400.0f,100.0f); + spawn_enemy(900.0f,100.0f); rodeo_mainLoop_run( main_loop ); |
