Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » How do I do a good working static effect
- HannahCox05
-
5 posts
How do I do a good working static effect
Any one got a good one that works?
- Ninkancho
-
500+ posts
How do I do a good working static effect
Get a custom block running without screen refresh to move a 1px sprite across every pixel on the screen while switching costume randomly to one of several shades of grey and stamping. I'll try to build it with scratchblocks, gimme a sec.
Last edited by Ninkancho (Nov. 11, 2015 03:17:25)
- Ninkancho
-
500+ posts
How do I do a good working static effect
This should work. The sprite running the code should be the tiniest dot possible, and have several costumes, each a similar dot in a different shade of grey.
Then all you need is to set the variable (static) to 1 whenever the static effect is needed, and 0 whenever it isn't.
Hope this helped!
Then all you need is to set the variable (static) to 1 whenever the static effect is needed, and 0 whenever it isn't.
Hope this helped!
Last edited by Ninkancho (Nov. 11, 2015 03:36:33)
- Ninkancho
-
500+ posts
How do I do a good working static effect
Actually, that's turning out pretty laggy. Let me try something else, then link the test project I made for you :)
EDIT: Yeah, no, that's not working out either. Never mind. Just use this instead I guess
EDIT: Yeah, no, that's not working out either. Never mind. Just use this instead I guess
Last edited by Ninkancho (Nov. 11, 2015 03:53:46)
- TheLogFather
-
1000+ posts
How do I do a good working static effect
Do you want one drawn across the whole screen with pen, or is it ok just using costumes?
Do you want it to look like the whole thing is static (like a non-tuned TV set, if you remember what they look like!), or do you want just parts of an existing image to have extra static lines across it?
The project linked above uses pen to draw the static across the whole screen, and it looks pretty decent. It's quite intensive, though, since it's drawing so many short lines. Some computers will struggle to manage.
If you want to ‘overlay’ a static effect over the top of whatever else you have on your screen (and you want to still be able to see ‘through’ it to some extent), then you'll have to go with costumes - that does work pretty well. You can see an example of that in InterXeptor 3D, when you pause it while playing the game (also, when you die it fades out to the static) - shoutout to @MrLog for coming up with all that - I only did the actual 3d stuff…
And if you just want static lines to appear randomly over the top of whatever you've already got on screen (so it's like interference ‘scratches’ appearing), then I think a few such small linear static costumes would also be the way to go.
Do you want it to look like the whole thing is static (like a non-tuned TV set, if you remember what they look like!), or do you want just parts of an existing image to have extra static lines across it?
The project linked above uses pen to draw the static across the whole screen, and it looks pretty decent. It's quite intensive, though, since it's drawing so many short lines. Some computers will struggle to manage.
If you want to ‘overlay’ a static effect over the top of whatever else you have on your screen (and you want to still be able to see ‘through’ it to some extent), then you'll have to go with costumes - that does work pretty well. You can see an example of that in InterXeptor 3D, when you pause it while playing the game (also, when you die it fades out to the static) - shoutout to @MrLog for coming up with all that - I only did the actual 3d stuff…
And if you just want static lines to appear randomly over the top of whatever you've already got on screen (so it's like interference ‘scratches’ appearing), then I think a few such small linear static costumes would also be the way to go.
Last edited by TheLogFather (Nov. 11, 2015 10:40:42)
- Discussion Forums
- » Questions about Scratch
-
» How do I do a good working static effect