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.

DarkBASIC Professional Discussion / Why isn't there something like Particle Candy for DBP?

Author
Message
Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 12th Aug 2010 20:14
Just curious why there isn't a good particle editor for DBP (or is there and I haven't found it yet)?

I'd gladly pay for an app like Particle Candy that could output DBP code in order to create particle systems - even if it was just a front end to the standard DBP particle commands.

Any thoughts on why this might be, or an existing app that offers similar functionality?
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 12th Aug 2010 20:19
I don't know why there's not an app that outputs DBP code, but particle systems are not all the same. You can make specific code for such things like fire, smoke, and water particle systems. Sure, you can make a system that can govern all possible particles, but that makes for slower code because you have to make a bunch of IFs or CASEs. Do you need to know how to make particle systems, or do you just want something that does it for you?

The fastest code is the code never written.
Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 12th Aug 2010 20:40
Bit of both really

The ideal is an app that lets you load up some images to use as the base for your particles, and then a whole load of sliders/boxes to control how the particles look and move, their colour and lifetime and so-on. You can then export the .dba code required to recreate that particle system in your own game.
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Aug 2010 20:54
Zerk released a plugin called ZParticle a while back, here is the link: http://forum.thegamecreators.com/?m=forum_view&t=111357&b=5

It comes with a particle editor and an easy way to load the particles into your game. I've found a few issues with it though (for me at least):
-The particles won't show beneath ghosted or transparent objects if you are looking from above (minor issue)
-You can only load one particle template at a time (I don't recall why this was an issue since it's been a while since I used the plugin. I was still able to load lots of different particle types though.)
-The particles didn't show up when I used the Bloom Shader that came with DarkShader.

It was overall a pretty good plugin though. It exports a .zpi template that you can load into your game and has most of what you're asking for.


Guns, cinematics, stealth, items and more!
Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 12th Aug 2010 21:18
That download for zparticle is no longer a good link.

Anybody have a current link to it?

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Aug 2010 00:02
I have a particle editor but it needs a little sprucing up. I'll see if I can dig it out.

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Aug 2010 00:41
The editor isn't usable right now, there's some quirks with the newer compiler. Attached is the demo of some of the simple effects you can create and the code it produces - be aware it's a few years old now.

Attachments

Login to view attachments
Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 13th Aug 2010 01:12
BatVink, I think I found the forum threads about your editor as well, but couldn't locate a working download link. If it could be bludgeoned into working, I'm sure lots of us would find it useful.

I'm currently looking through the Pyro code from the Feb06 newsletter as well. That uses images and objects rather than particles, but it is quite pretty.
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 13th Aug 2010 04:27 Edited at: 13th Aug 2010 04:29
I think I have it lying around here somewhere....

Found it . It's attached.

Also, here's an early video of a game I used ZParticle in. Just an example of some of the particle effects it can do (I think it's capable of a lot more though.)
http://www.youtube.com/watch?v=a0y_QgsPvpE


Guns, cinematics, stealth, items and more!

Attachments

Login to view attachments
Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 13th Aug 2010 06:44
Quote: "I think I have it lying around here somewhere...."


Thanks!

When I tried to download it, I discovered I already had a copy!

Silly me.

Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 13th Aug 2010 06:45
Quote: "I'd gladly pay for an app like Particle Candy that could output DBP code in order to create particle systems - even if it was just a front end to the standard DBP particle commands.
"


Hmmm, that almost sounds like a challenge...

Rain Man
16
Years of Service
User Offline
Joined: 19th Nov 2007
Location:
Posted: 13th Aug 2010 07:53 Edited at: 13th Aug 2010 07:54
ExGen is another option.

Ten minutes to Wapner.
Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 13th Aug 2010 10:40
Quote: "Hmmm, that almost sounds like a challenge..."

If you're willing to pick up that gauntlet...

Quote: "ExGen is another option."

ExGen is a 2D app though. It might look nice on the screen but it just ouputs animated sprites of the effect you want.

In some situations that might be fine, but for others you need particles so your effect can have depth and volume.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 13th Aug 2010 15:19
Quote: "In some situations that might be fine, but for others you need particles so your effect can have depth and volume."

Agreed, but it does provide a good starting point when used well. It also reduces the number of particles you need to produce an explosion vastly. I've used the results of ExGen loads in 3D games without any particles and it still looks great.

Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 13th Aug 2010 15:28 Edited at: 13th Aug 2010 15:28
ExGen does look interesting. But I'm going to use this as an opportunity to learn how DBPro particles work.

So, gauntlet picked up!

Here's what I have so far...



Attachments

Login to view attachments
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 13th Aug 2010 15:43
Nice!

Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 13th Aug 2010 17:03
Excellent work Rich
Rich Dersheimer
AGK Developer
14
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 15th Aug 2010 03:54
Hey Bursar, check it out!

Particle Sandbox

It's pretty basic, but there's only so much that can be done with the stock particle system.

Anyway, thanks for the inspiration!

Bursar
15
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 15th Aug 2010 11:17
Amazing I'll go and post in your announcement thread.

Login to post a reply

Server time is: 2024-04-27 15:29:51
Your offset time is: 2024-04-27 15:29:51