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.

2D All the way! / 2D Particles Using Sprites - Has it been done?

Author
Message
Cash Curtis II
20
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 10th May 2006 10:00 Edited at: 10th May 2006 10:03
Hey you crazy 2Ders, I've got a crazy question. Has anyone developed or used a 2D sprite particle engine?

Now, before everyone gets crazy, I'll answer a few questions: 1. Yes, I searched. 2. No, I'm not looking for 3D particles, I've got those out the ass. 3. I want 2D sprite particles to use in my sprite GUI for an RPG magic system.

Of course, I could do it myself. But why re-invent the wheel if it's already been done? I have no problem at all giving credit where credit is due.

Now, imagine this : when you click on a magical rune, cute little heart particles shoot out, called Hearticals (not really). Since I'm using sprites on top of 3D, I have to draw the sprites last. So, any 3D particles will appear behind the rune. If there's a lot of GUI sprite action going on, then it will look crappy. Alpha blended sprites seem like the way to go.

If no one has seen such a beast, it's cool, I guess I'll invent one. I'd just rather not is all. Thanks!!!


Come see the WIP!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 10th May 2006 13:11
Take a look at the starburst DLL;

http://mysite.wanadoo-members.co.uk/darksidefreeware/dllpage.htm

The DLL just does the maths and you paste images at return values. Quite a lot of scope there for some nice looking stuff.

Boo!
Cash Curtis II
20
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 10th May 2006 14:48
Wow, thanks. That thing is just what I was looking for. I set up manual alpha blending and got just the effect I was looking for. I love it when magical answers fall into my lap.

Who is Snowy? John Snowball? Talented guy, I guess I've never seen him around.

Thanks spooky!!!


Come see the WIP!
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 12th May 2006 14:40
I'm guessing that coding 2d particles using sprites wouldn't be that different from coding 3d sprites, I guess it's just the same instead you only use X and Y...

Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 12th May 2006 15:30 Edited at: 12th May 2006 15:32
Quote: "I'm guessing that coding 2d particles using sprites wouldn't be that different from coding 3d sprites, I guess it's just the same instead you only use X and Y..."



Sprites don't rotate in the Y plane so they are called 2D.

Login to post a reply

Server time is: 2025-06-28 05:40:54
Your offset time is: 2025-06-28 05:40:54