I made a game: http://scratch.mit.edu/projects/bdn7/1781102
In the game you shoot missiles at buildings that have been drawn with a pen script. The explosion erases parts of the building, but sometimes the bottom of the building is gone, and the top half is still there floating, or unrealistically standing. How can I make a whole building explode if the bottom is hit?
Last edited by bdn7 (2011-05-12 18:35:28)
Offline
I would make the bottom of the building its own sprite, just for sensing purposes. Then broadcast DestroyEntireBuilding if the bottom sprite is hit by a missile which explodes both halves of the building.
Offline
LordSydney wrote:
lol
Please don't spam.
MoreGamesNow wrote:
I would make the bottom of the building its own sprite, just for sensing purposes. Then broadcast DestroyEntireBuilding if the bottom sprite is hit by a missile which explodes both halves of the building.
Actually, I would have said to make the top half a different sprite, and have it hide if the missile is below.
Offline
scimonster wrote:
LordSydney wrote:
lol
Please don't spam.
MoreGamesNow wrote:
I would make the bottom of the building its own sprite, just for sensing purposes. Then broadcast DestroyEntireBuilding if the bottom sprite is hit by a missile which explodes both halves of the building.
Actually, I would have said to make the top half a different sprite, and have it hide if the missile is below.
That would work, but the buildings are drawn by a sprite that has pen scripting.
Offline
scimonster wrote:
LordSydney wrote:
lol
Please don't spam.
MoreGamesNow wrote:
I would make the bottom of the building its own sprite, just for sensing purposes. Then broadcast DestroyEntireBuilding if the bottom sprite is hit by a missile which explodes both halves of the building.
Actually, I would have said to make the top half a different sprite, and have it hide if the missile is below.
just saying, don't minimod in teh future
Offline