Ways To End Game Apart From Character / Enemy Collision?

Discussion in 'Gameplay' started by AceTrio, Oct 24, 2018.

  1. AceTrio

    AceTrio Boxer

    Joined:
    Sep 3, 2018
    Messages:
    14
    Likes Received:
    3
    Can someone advise how to end a game apart from Character collision?

    I am making a game with only objects, no characters. But i want the game to end when there's an object collision.

    How can this be done?

    Thanks in advance.

    David
     
  2. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    all you need to do is have an invisible character on the screen, (which is also a good way to have a camera) and place an invisible action that will kill the character come from what ever you wish.
     
  3. AceTrio

    AceTrio Boxer

    Joined:
    Sep 3, 2018
    Messages:
    14
    Likes Received:
    3
    Thanks Tekanology. I had tried your method some time back but for some reason it didn't work.
    I retried after reading your post and somehow it worked. Thanks!

    But if anyone has any other ways to end game without using characters, please post here.
     
  4. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    I don't exactly know how your game works but another way is to simply use an event observer. Basically, say you are collecting coins, the event observer will take you two a UI once you get a specific amount.
     

Share This Page