Hi All,
I am making an endless runner that has randomly chosen prefabricated floor sections. (I want to make a selection of floor sections which are then chosen as the game gets more difficult and they can be more challenging)
Just wondering the best way to approach it. My thinking was:
each prefabricated floor section controls itself
it moves itself across the screen from right to left
it emits a signal before it goes off the screen left (and is no longer needed)
it destroys itself after that
upon receiving the signal, a parent node loads a new prefabricated floor section off screen right
I am wondering how to set up the signals and connect them on randomly chosen then instanced pieces.
Unless there is a much better way - this may be totally not the way to do it...
Thanks