Jump to content

Phaser Collisions


Hunter
 Share

Recommended Posts

    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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...