toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
How to spawn randomly?
DanielAvni
Member
Posts:
114
December 2009
edited November -1
in
Working with GS (Mac)
how do i spawn my object in a random place off the screen 2 the right and walk onto the scene at a certain speed
Comments
Fafnir312
Member
Posts:
161
December 2009
Place the spawner object of the screen and give it a "spawn" behavior with "random(min,max)" in the position fields.
In the actor you're spawning give it a "move" behavior and set it to move left.
DanielAvni
Member
Posts:
114
December 2009
i dont get it i give my actor the spawn behavior but i want them to spawn out of the screen in the left and move onto it going right
Sign In
or
Register
to comment.
Comments
In the actor you're spawning give it a "move" behavior and set it to move left.