TV/Static screen effect?


(Ethan Smythe) #1

Hey guys just wanting to know if it possible to get this TV/static screen effect in flash punk? example of what on on about: http://www.ludumdare.com/compo/wp-content/compo2/233892/21594-shot0.gif


(Alex Larioza) #2

You mean the scan lines?

For these sorts of effects, I usually just overlay an image on the entire game that is set to Additive. :smile:


(Ethan Smythe) #3

ohh okayy :slight_smile: what image would you use for example?


(Alex Larioza) #4

Well it depends on what end result you are looking for. I often experiment with different patterns and colors in an image editor as well as effects through code.

I’d simply start with an image with white lines running through it and go from there.


(Ethan Smythe) #5

okay than you! and what the best method to overlay the image?


(Jacob Albano) #6

My first thought is to attach a Stamp to an entity, set its scrollX and scrollY values to 0, and have the entity always set itself to the top layer if necessary.


(Ethan Smythe) #7

yeah i got the image on the screen now i have to find the right image :frowning:


(Ethan Smythe) #8

got it going thanks again guys! :slight_smile: