Repeating An Assets Action In The Same Scene

Discussion in 'Gameplay' started by Declan balasco, May 13, 2021.

  1. Declan balasco

    Declan balasco Boxer

    Joined:
    Apr 14, 2021
    Messages:
    23
    Likes Received:
    0
    hi I'm making a game where enemies fall from above and the character has to dodge them is there away to get the same assets to loop. also the game is one scene so I don't want to randomize scenes
     
  2. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    512
    Likes Received:
    317
    Hey there,

    Yes there's many ways to do this but the easiest one would be to add a spawner as a chield to the character (so that it will move left or right with the character)
    Then add a spawn node and between its output and input add a delay node that will spawn every X seconds that you set up

    That's it
     

Share This Page