Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Good particle system

Author
Message
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 12th Dec 2006 18:45 Edited at: 12th Dec 2006 19:33
It works pretty well so far, all I have to do is make it texturable and make the alpha mapping better, meanwhile, here's a demo.

Move the mouse around and hit the little... thing.. lol

[edit]
Changed code a little, now it's a little neater to look at




El Goorf
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Uni: Manchester, Home: Dunstable
Posted: 12th Dec 2006 18:55
wow, that looks like my field effect
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 12th Dec 2006 19:27
Try changing the mode variable to 0.

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 12th Dec 2006 20:01 Edited at: 12th Dec 2006 21:16
Here's another good one.




[edit]
Another. Slightly less colourfull, but shows it's true purpose.


Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 16th Dec 2006 23:52 Edited at: 16th Dec 2006 23:56
Wow, that was cool! Reminds me of this, lol. It's something I was going to post but never got around to making the help file for it

Changing "ScaleInterval" to -1 makes the smoke look a little more like fire... If you want me to remove the code from this post I will, if you feel that's it's ruining your thread lol.

[DBPro]

Space makes smoke stop coming out of one of em', I forget which.



Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 17th Dec 2006 00:16
That's some really good code there

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 17th Dec 2006 01:00 Edited at: 17th Dec 2006 01:04
Thank you. It works in DBC if I change "set object transparency" to "Set object" ^^ In fact was originally written for DBC and the functions will work in any game if you can figure out what each does from my example lol. Anyway enough about that back to your thread



I liked how the "little... thing" would run away from the mouse in the first one and how it would bounce. I played with that for like 3 mins lol

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 17th Dec 2006 02:08
Haha yeah.

Here's another very slight variation of the demo everyone's bored of

Looks like a galaxy - a very colourfull one


Login to post a reply

Server time is: 2024-11-22 22:59:38
Your offset time is: 2024-11-22 22:59:38