PCEngine-FX.com

PCE-FX Homebrew Development => Localizations, Games, Apps, Docs => Topic started by: touko on 06/08/2013, 06:40 AM

Title: fire effect source code
Post by: touko on 06/08/2013, 06:40 AM
Hi all .

I post the source code of this effect.
It's based on old tomaitheous's h-sync routine for huc.Even if i use my own h_sync routine now, the goal is the same.

You will see how simple this effect is  ..

http://rapidshare.com/files/493393077/fire_effect.zip
Title: Re: fire effect source code
Post by: TurboXray on 06/08/2013, 08:31 PM
Quote from: touko on 06/08/2013, 06:40 AMHi all .

I post the source code of this effect.
It's based on old tomaitheous's h-sync routine for huc.Even if i use my hown h_sync routine now, the goal is the same.

You will see how simple this effect is  ..

http://rapidshare.com/files/493393077/fire_effect.zip
Where did you get that sin table from? Great effect :D
Title: Re: fire effect source code
Post by: touko on 06/09/2013, 05:15 AM
at first I wanted to make a simple wavy effect, as in a level of Thunder force 3  .

And I forgot to initialize the sin table,the result was this effect,i just had to put some values on screen to see how kind of values are needed .

To summarize, is a wavy effect with chaotic values .

In fact this effect is due to chance lol ..
Title: Re: fire effect source code
Post by: TurboXray on 06/11/2013, 09:18 PM
It's a great effect. Thanks for sharing the sine table :D
Title: Re: fire effect source code
Post by: touko on 06/12/2013, 08:03 AM
Thanks,this is my modest contribution ;-) .

You can see it in action in the menu of my ik like game : http://youtu.be/qsSsNe3RfSk

Of course it's very smooth on real hardware,and may be add a blur effect make it more realistic, or less pixelated..
Title: Re: fire effect source code
Post by: roflmao on 06/12/2013, 10:35 AM
Nice!