Hello,
I'm trying to learn how to make video games and I wanted to start with an endless runner.
On the start page, there is an example, but it's set the randomly generated block from the same sprite just changing the position and size.
What I need is to keep it in the same place, and instead of using one simple object that changes size and pos, I need to set different families of sprites randomly.
I've added an illustrative image (it is not the actual game, it is just schematic so I can show you the idea)
Thanks
On the spawn block event, instead of spawning sprite A, you set a variable to choose(1,2,3) and then the outcome is if 1, spawn sprite A selection, if 2, spawn sprite B selection, if 3, spawn sprite C selection.
I have a perfect demo for you :)
howtoconstructdemos.com/generate-random-levels-from-pre-built-scenes
Develop games in your browser. Powerful, performant & highly capable.
Omg thank you very much. Sry took me so long to respond. I'll let you now how it goes