Total noob question
appletreeman
Member Posts: 5
'ello, sorry this is probably going to sound like a really silly basic question. It's not even really for a game yet, I'm just trying to get to grips with how GameSalad works.
I have an actor that I would like to spawn at a random point off the screen on any side and then move in a straight line to the other side at a random (between two values) speed. I just can't seem to figure it out.
Thanks in advance
I have an actor that I would like to spawn at a random point off the screen on any side and then move in a straight line to the other side at a random (between two values) speed. I just can't seem to figure it out.
Thanks in advance
Comments
In the mover use a move behavior and click the e next to the speed box. Then click the down arrow and select random (do NOT type random in as letters - you must select it from the list). Replace the x and y with the min and max values.
In the spawner have a spawn actor behavior. Just select the x and y coordinates (off the viewable scene is fine.