Discuss Scratch

TheBreadMansion
Scratcher
1 post

How to make flashlight flicker?

I'm making a game with a flashlight in it and I don't know how to make the flashlight flicker, I've tried using ghost blocks but they didn't work that well. Any suggestions?
Spentine
Scratcher
1000+ posts

How to make flashlight flicker?

Perhaps you can use the show and hide block rapidly. It will create a flicker effect.
Softfeather_SkyClan
Scratcher
100+ posts

How to make flashlight flicker?

If the light is a separate sprite then you can use the ‘hide’ block, wait 0.5 sec, then ‘show’. Keep repeating for as many times as you want and it should flicker.
tt_thoma
Scratcher
100+ posts

How to make flashlight flicker?

forever
repeat (pick random (5) to (10))
hide
wait (pick random (0.0) to (0.5)) secs
show
end
wait (pick random (2) to (5)) secs
end

Powered by DjangoBB