How to make a noise filter

Started by xenogia, Thu 21/01/2010 12:59:10

Previous topic - Next topic

xenogia

Hey guys,

I want to create a slight noise filter over the game, ala Silent Hill.  I tried creating one large object with some noise but slowed down the game considerably.  What ways do you suggest doing this with minimal slow down?

Jim Reed

Calin Leafshade used a film noise/grain effect in McCarthy Cronicles, so try to PM him, maybe he ca be of asistance.

GarageGothic

I found that a semi-transparent GUI with background sprite animated using rep_exec_always works quite well and is probably the most versatile solution if you're going to re-use it for multiple rooms. Not sure how this compares to using animated objects performance wise, but that's how I do it.

xenogia

What type of code do you put in rep_exec_always to get it running nicely?

GarageGothic

Just a very simple timer counting the loops and changing the background every 3 loops or so. You can modify the code I wrote for animated backgrounds here to change the GUI.Background instead of RawDrawing the sprite.

SMF spam blocked by CleanTalk