Destroy Character If An Object Goes Out Of Screen

Discussion in 'How Can I...?' started by enejoh, Nov 11, 2018.

  1. enejoh

    enejoh Boxer

    Joined:
    Nov 9, 2018
    Messages:
    14
    Likes Received:
    4
    Hey guys is it possible for buildbox to destroy a character (game over) if an object goes out of screen
    I've tried seems to only work with character.
     
  2. Kanishk Sachdeva

    Kanishk Sachdeva Avid Boxer

    Joined:
    Jul 10, 2018
    Messages:
    217
    Likes Received:
    16
    Game can get over with character being defeated only , not with an object being defeated. ( If you are talking about BB2 )
     
    enejoh likes this.
  3. enejoh

    enejoh Boxer

    Joined:
    Nov 9, 2018
    Messages:
    14
    Likes Received:
    4
    Thanks alot Kanishk.
     
  4. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    I think you can do that in bb2. in bb3 it will need some JavaScript involved or maybe you can achieve the same trick bellow. For bb2 you just need to make that object interact with an other object, this last object will release or spawn form its death animation a third object that will kill the character. The second object is going to be the border.
     
  5. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    927
    Likes Received:
    318
    Hi,If you are asking about the game over part when it touch sides of the screen then the simple solution is..On your game world you will find an icon on top with four dots.That's the game frame.Click it till you see a red line.So when character touches it you will have your game over .
     

Share This Page