Hunter Posted November 1, 2017 Share Posted November 1, 2017 game.physics.arcade.overlap(PlayerHitbox, Enemy1BGroup, HitboxHit, null, this); game.physics.arcade.overlap(Player, Enemy1BGroup, PlayerGrazed, null, this); Enemy1Bullet.destroy; Lives = Lives - 1 } school project, the first line(s) hit these secondary lines as startup, but for some reason it isn't directly working. Link to comment Share on other sites More sharing options...
Cudabear Posted November 1, 2017 Share Posted November 1, 2017 Hard to tell without seeing the rest of code. What you've posted seems like it should be working. Have you enabled arcade physics on PlayerHitbox, Player, and Enemy1BGroup? Link to comment Share on other sites More sharing options...
Recommended Posts