summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorarngo <[email protected]>2023-05-30 02:00:19 -0400
committerarngo <[email protected]>2023-05-30 02:00:19 -0400
commit16700c6660d2a3d06792a4f3177c1b28d5d3a573 (patch)
treeece65ad1465f85b28ace07f40295a1ada1743091 /src/main.c
parentd949d6604d574a2c50e74b7f3652147280e7a43a (diff)
downloadTOJam2023-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.c7
1 files changed, 5 insertions, 2 deletions
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
);