I am woking on a game on scratch, involving shooting enemies and them re-spawning somewhere. Right now i have the basic idea down, but I am having trouble figuring out how to make a Random Sprite Spawner. Please help with this, I am new but i love scratch. thanks!
Offline
gbhuyan wrote:
I am woking on a game on scratch, involving shooting enemies and them re-spawning somewhere. Right now i have the basic idea down, but I am having trouble figuring out how to make a Random Sprite Spawner. Please help with this, I am new but i love scratch. thanks!
Belongs to Help with Scripts, I guess i'll report it to be moved?
Offline
fetchydog567 wrote:
gbhuyan wrote:
I am woking on a game on scratch, involving shooting enemies and them re-spawning somewhere. Right now i have the basic idea down, but I am having trouble figuring out how to make a Random Sprite Spawner. Please help with this, I am new but i love scratch. thanks!
Belongs to Help with Scripts, I guess i'll report it to be moved?
oh, yes i am new to scratch didn't see that part...
Offline
Try this:
when gf clicked forever wait until <I am killed> go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180)) endI hope this helps!
Last edited by OrcaCat (2013-01-06 23:10:01)
Offline
OrcaCat wrote:
Try this:
when gf clicked forever wait until <I am killed> go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180)) endI hope this helps!
This ^ if you want to have a sprite for each enemy, otherwise, there are list based alternatives
Offline