From 16700c6660d2a3d06792a4f3177c1b28d5d3a573 Mon Sep 17 00:00:00 2001 From: arngo <27396817+arngo@users.noreply.github.com> Date: Tue, 30 May 2023 02:00:19 -0400 Subject: teleporting fixed but player can go through walls a bit --- src/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 82f5199..cb3d7da 100644 --- a/src/main.c +++ b/src/main.c @@ -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 ); -- cgit v1.2.3