Author |
Message |
SNIPERDUDE
|
Posted: Thu May 08, 2008 1:39 pm Post subject: 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. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
metachief
|
Posted: Thu May 08, 2008 2:54 pm Post subject: 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]
|
Posted: Thu May 08, 2008 3:35 pm Post subject: 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' here here and a few other places. You can also look at the Forces source code. |
|
|
|
|
|
SNIPERDUDE
|
Posted: Mon May 12, 2008 12:53 pm Post subject: RE:Blur effect |
|
|
Did they ever figure out compiling in the newest version? |
|
|
|
|
|
Tony
|
|
|
|
|
petree08
|
Posted: Mon May 12, 2008 1:00 pm Post subject: 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
|
Posted: Mon May 12, 2008 1:11 pm Post subject: 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
|
Posted: Mon May 12, 2008 1:20 pm Post subject: 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 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
SNIPERDUDE
|
Posted: Mon May 12, 2008 1:22 pm Post subject: 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! |
|
|
|
|
|
|