Discuss Scratch

SquiddyManTF2
Scratcher
4 posts

I need help with making explosions!

I am currently creating an “infinite” type of game.

You control a motorcycle and switch lanes while avoiding obstacles, one of them (wich is the one i need help with) is one where there is a warning sign that lasts around for 2 seconds, when the timer ends, an explosion occurs. What am I trying to do is make that when the player and the explosion touch, the game stops.

I have tried using the “Touching color” block for this explosion but it hasn't given out any functional result.

If anyone has an idea or a workaround then do let me know.
Tsunami_trouble11
Scratcher
80 posts

I need help with making explosions!

If the player and explosion are separate sprites, you could do this
when green flag clicked
forever
if <touching [explosion v] ?> then
… //end the game
end
end
SquiddyManTF2
Scratcher
4 posts

I need help with making explosions!

Tsunami_trouble11 wrote:

If the player and explosion are separate sprites, you could do this
when green flag clicked
forever
if <touching [explosion v] ?> then
… //end the game
end
end

Tysm!!!

Powered by DjangoBB