docent
Member
|
Particle Editor
Hello everybody,
I've just finished a tool that I can share with.
Under the following link you'll find the Particle Editor for Esenthel Engine.
<!-- m --><a class="postlink" href="http://union.org.pl/download/esenthel/ParticleEditor.zip">http://union.org.pl/download/esenthel/P ... Editor.zip</a><!-- m -->
Installation:
Download ParticleEditor.zip and unpack it to the directory where Mesh Editor and World Editor are located. Click on ParticleEditor.exe to start.
Please leave bug reports, enhancement suggestions etc. in this thread.
Have fun!
PS: Particles created and saved with ParticleEditor can be loaded and rendered using the following code:
enum PARTICLE_RENDER_MODE
{
PARTICLE_MODE_BLEND,
PARTICLE_MODE_PALETTE
};
Particles particle, src_particle;
File f;
UInt particle_render_mode;
f.read(particle_file_name);
if (src_particle.load(f))
{
f>>particle_render_mode;
}
particle.create(src_particle);
src_particle.del();
...
void Render()
{
switch(Renderer())
{
case RM_PALETTE: // palette based
if (particle_render_mode==PARTICLE_MODE_PALETTE) particle.draw();
break;
case RM_BLEND: // alpha blended
if (particle_render_mode==PARTICLE_MODE_BLEND) particle.draw();
break;
}
}
|
|
04-23-2009 01:46 AM |
|
Brainache
Member
|
Re: Particle Editor
Very cool tool! Thank you for releasing this... It is going to be used quite a bit!
|
|
04-23-2009 05:33 PM |
|