Hi again, I am working on the same game for my bio class and i am having trouble figuring out how to spawn in another enemy sprite after one gets destroyed. On the game level 8, (boss level), I have a sloth tongue coming out of the right side, and the ants have to drop logs on it in order to damage the sloth. I want a sprite to appear on the left wall after the tongue gets “destroyed” Can anyone help me with this please?
Here is my game:
3 Likes
You just use the spawn block, and then set the coordinates and object you want to spawn
1 Like
I tried doing that but I am not sure how to figure out the coordinates for the sloth arm to appear. Also would that go in the sloth tongue’s behaviors?
2 Likes
So:
1 block = 32 pixels
Then you mess around until you get the right position
Yes. After the destroy behavior, connect the spawn block.
2 Likes
oh okay I will try that right now, would the sprite (sloth arm) have to be on the level already?
1 Like
Nope. Spawn creates the object, so you don’t need to put it in the level.
1 Like
it works! Thank you so much Ive been stuck on this for days!!
1 Like
You are very welcome. I would like my payment of 1 solution, please
1 Like
They mean topic solution
Im sorry i never used this before, what do you mean?
1 Like