
-----------------------------------
SNIPERDUDE
Thu May 08, 2008 1:39 pm

Blur effect
-----------------------------------
How can I create a sort of blur effect that is as smooth yet won't slow down my game too much?
A good example of what I mean is used in the infamous 'Forces' game as seen on this site.

Hope that's clear enough, don't have the link to it at the moment.

-----------------------------------
metachief
Thu May 08, 2008 2:54 pm

RE:Blur effect
-----------------------------------
Hey, I believe there is such a command that does that (Pic.Blur or somehing). Check it up in the index of Turing help.

-----------------------------------
[Gandalf]
Thu May 08, 2008 3:35 pm

Re: Blur effect
-----------------------------------
Yes, the newest versions of Turing have such a function to blur pictures.  If you're using an older version or don't want to use Pic.Blur, there are plenty of alternatives from 'long ago' [url=http://compsci.ca/v3/viewtopic.php?t=2200&highlight=blur]here [url=http://compsci.ca/v3/viewtopic.php?t=2196&highlight=blur]here and a few other places.  You can also look at the [url=http://compsci.ca/v3/viewtopic.php?t=13809]Forces source code.

-----------------------------------
SNIPERDUDE
Mon May 12, 2008 12:53 pm

RE:Blur effect
-----------------------------------
Did they ever figure out compiling in the newest version?

-----------------------------------
Tony
Mon May 12, 2008 12:55 pm

RE:Blur effect
-----------------------------------
no, and its doubtful they are going to.

-----------------------------------
petree08
Mon May 12, 2008 1:00 pm

RE:Blur effect
-----------------------------------
here is a procedure 

procedure Blur_Screen (Intensity : int, Color : int)


for Blur : 1.. Intensity 
drawline (Rand.Int (1, maxx),Rand.Int (1,maxy), 
Rand.Int (1, maxx), Rand.Int (1, maxy), Color) 

end for 


end Blur_Screen

I think that's the basic idea of the forces engine blur 

use this proc instead of cls when something is animated/moving

-----------------------------------
SNIPERDUDE
Mon May 12, 2008 1:11 pm

RE:Blur effect
-----------------------------------
See, I wanted to create a package for myself that includes most of the visual effects I want from the newest version so I can use it in the other versions.

Because if I'm making a game that uses this effect and I'm coding in the new version - I want to be able to compile it

-----------------------------------
petree08
Mon May 12, 2008 1:20 pm

RE:Blur effect
-----------------------------------
- crap the blur i posted wasn't from the forces engine, it was from an older fireworks thing ( i forgot who wrote it) , sorry

-----------------------------------
SNIPERDUDE
Mon May 12, 2008 1:22 pm

RE:Blur effect
-----------------------------------
no prob, I just downloaded the forces thing anyways.

Man, if I knew he had posted it I would of checked it out a looong time ago!
That game inspired me so much in my programming...

Anyways thanks for the replies - I am going to check the Forces code when I get the chance.

If I need anymore help I'll be sure to ask!
