Kill Enemies Or Objects Forever

Discussion in 'Buildbox 3.0' started by mmicoe, Feb 10, 2021.

  1. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Hello,
    this is my question:

    My Randomize World with a lot of scenes:

    1. World -> Start -> 1 -> 2 -> 3-> 4 (Enemy) ->5 -> 6 -> 7-> 8 ->9 .... -> N (Randomize)
    Next scene threshold:3000
    Delete Scene threshold:1000
    Scenes Randomized: true


    I need kill enemies but if I kill the enemy, the enemy should never show himself again.

    Now, for example, if I kill an enemy in some scene, I use Remove Node and the enemy is removed fine. But if the scene reappears again (randomize) , the enemy reappears too!

    How can I solved it? I think it must be very easy to solve it but now I don't see how to do it.

    Waiting an answer!
    Thanks!
    Mauro
     
  2. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    I just need to know if there is a solution for this or not. Simply by following another structure in my project.
    Right now, I'm standing still, waiting for an answer! :(
     
  3. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    I'm confused, you want him to not show up again but you also want him to show up again if the scene is replayed?
     
  4. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    hi, yes. It is very simple: character must kill 10 objects to finish the level. It is mandatory.
    Character moves in one direction: left to right.

    The objects, are located by the scenes, and character must kill them. If character kill an object, this object is killed forever, and it can not displayed again. But if character cannot kill the object in the first time, he can kill it, in the next time (random scene). If character kill 10 objects, level is finished.
    ok?

    But, I understand that this method cannot be implemented using BB. Now, I changed my design! Now, I use align scenes and character moves right to left and left to right.. increasing delete threshold the issue is solved using align scenes....

    It is a different implementation than what I wanted but this new method works for me. Although I have had to duplicate my work, especially with movement and character design. But it works for me.

    Thanks!
    Mauro
     
  5. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    This is the old UGLY prototype.


    Now, it is improved!
    I will show you the result shortly. It is a game for children.

    All the best,
    Mauro
     
    Last edited: Feb 11, 2021
  6. Codelyon

    Codelyon Boxer

    Joined:
    Feb 10, 2021
    Messages:
    2
    Likes Received:
    0
    Hello, if you do not want the enemy to come back simply add a remove node when it dies.
     
  7. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Hi, it does not work using randomize scenes! If you read my first post you will see that I use Remove nodes!

    All the best!
     
  8. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Prototype 2
    Starting a game for kids


    All the best!
    Mauro
     

Share This Page