[gravity Portal] How To Make Game End When One Of Character Is Dead ?

Discussion in 'How Can I...?' started by zukinet, Mar 30, 2017.

  1. zukinet

    zukinet Boxer

    Joined:
    Feb 6, 2016
    Messages:
    4
    Likes Received:
    0
    Hi all,

    I try to create my first game with BuildBox, i have an idea with Gravity Portal.
    but seems problem here, i know the Gravity Portal concept that use 2 character in above and bottom.

    However, sometimes when above character is dead after hit obstacle then the bottom still run until his dead and vice versa. i have tried to make sure the obstacle position and it's clone/double to other layers, but sometime it's not work...

    My Question, How to fix when one character dead then others will automatically dead ?
     
    Last edited: Mar 30, 2017
  2. Elite

    Elite Boxer

    Joined:
    Jul 3, 2016
    Messages:
    4
    Likes Received:
    2
    Maybe add a large enemy object into the death animation of the character that is invisible so when one character dies the other one also dies.
     
    meremy likes this.
  3. meremy

    meremy Avid Boxer

    Joined:
    Aug 26, 2016
    Messages:
    134
    Likes Received:
    66
    Yes. In the character death animation, add an ENEMY with opacity 0, spawn 999 and that should do the trick. Also if you read the forum you find that people ask this a lot :p
     

Share This Page