Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Particle Engine: Couple Additions? (https://forums.graalonline.com/forums/showthread.php?t=81124)

TheStan 08-09-2008 12:16 AM

Particle Engine: Couple Additions?
 
Having recently acquainted myself with the particle engine...I find that there are quite a few things that Graal's Developers would benefit from, pending them being added to the particle engine.
  • The first of which, and quite possible the most important, is that there should be some kind of event and/or notification of an individual particle being destroyed. I.E., onParticleDestroyed(atx, aty, atz), that way we can have a few functions for things like splash ganis where rain drops hit the ground maybe.
  • I've also been thinking sub-emitter functionality would be very useful for quite some time now. Allowing particles to emit other particles maybe very helpful when doing multiple emitters/particles for an effect.

Inverness 08-09-2008 12:29 AM

I told you on Valikorlia RC that you should have a separate emitter do splash ganis/images randomly or so.

Having an event for every particle destroyed, which could be many particles a frame, would lag more than a 0.05 timeout loop.

And for the sub-emitter, is it not possible to find the location of a TParticle and just have another emitter emit relative to it?

DrakilorP2P 08-09-2008 12:36 AM

Try this:
Quote:

TParticle.emitter - object (read only) - for specifying the attributes of a sub-emitter

TheStan 08-09-2008 12:41 AM

Quote:

Originally Posted by Inverness (Post 1412680)
I told you on Valikorlia RC that you should have a separate emitter do splash ganis/images randomly or so.

Having an event for every particle destroyed, which could be many particles a frame, would lag more than a 0.05 timeout loop.

And for the sub-emitter, is it not possible to find the location of a TParticle and just have another emitter emit relative to it?

Alas, I suppose that will be efficient enough. I was hoping for something a bit more accurate i.e. at the exact drop point, but alrighty then.

Quote:

Originally Posted by DrakilorP2P (Post 1412685)
Try this:

I will make sure to do so.

Admins 08-09-2008 12:42 AM

There are dropemitter and dropwateremitter, those can be used to show rain drops, particles can also use ganis.

TheStan 08-09-2008 01:04 AM

Quote:

Originally Posted by Stefan (Post 1412688)
There are dropemitter and dropwateremitter, those can be used to show rain drops, particles can also use ganis.

Forgive me but what do dropemitter and dropwateremitter actually do? o.o The wiki isn't clear.

Admins 09-02-2008 01:17 AM

Well they emit particles on the spot where a particle is landing


All times are GMT +2. The time now is 09:21 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.