Game Over When Object Instance Hits Enemy

Discussion in 'How Can I...?' started by stagg250, Oct 12, 2016.

  1. stagg250

    stagg250 Boxer

    Joined:
    Aug 29, 2016
    Messages:
    10
    Likes Received:
    3
    I have Spawner Object with spawn rate 0.5 and spawn action Shooting. The object is spawned each time player click on the screen. I wonder if it is possible to trigger Game Over Event when Spawn Object hits other Enemy object in the game?
     
  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    You could try attaching a menu jump using connections to the enemy object and then linking it to the game over UI.
     
    stagg250 likes this.
  3. stagg250

    stagg250 Boxer

    Joined:
    Aug 29, 2016
    Messages:
    10
    Likes Received:
    3
    Thanks! In the meantime I figured out that invisible Spawn Object could be attached to Character. When Spawn Object (that is, Character) collide with Enemy Object, it will be destroyed.
     

Share This Page