Hi,
I have two objects to create and want to spawn(or create) them randomly. This will be a infinite runner game so my objects has bullet behavior. Player has to jump over them. Each object to create must be positioned on different Y axes. And finally objects must come randomly. (random space between them but not too close or same posisioned)
First i tried this:
system > every random (1,2) sec > system create object Sprite1 on layer 1 at (720,275)
system > every random (1,2) sec > system create object Sprite2 on layer 1 at (720,300)
and tried different combinations of time values. But it didnt worked for me well. Objects come randomly but sometimes it comes too close to each other or same location.
Then i tried to put them in a family folder and made them to spawn. It comes randomly but the Y coordinate must be the same for all family. So it wont work for me.
I need help about that. Is there a proper way to do this?
Thanks,