ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Tue Oct 16, 2018 3:26 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Particle effects
PostPosted: Wed Jul 17, 2013 3:43 am 
Offline
Thalore

Joined: Mon Mar 25, 2013 10:09 pm
Posts: 153
After spending much of the evening fooling around with particle effects, I think I have most of the basics figured out.

I still don't understand the return values, though. It looks like particle effects a list containing the following:

  • A generator or table - I understand this, more or less.
  • An emitting function. DG describes this here.
  • A number. I am completely stumped as to what this does.
  • An optional filename to use in place of the standard particle appearance
  • A mysterious optional boolean

Is this more or less correct?

What are the third and fifth parameters (the number and the boolean)?

_________________
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.


Top
 Profile  
 
 Post subject: Re: Particle effects
PostPosted: Wed Jul 17, 2013 5:56 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10230
Location: Angolwen
Yup!

Number is the max number of particles the system will handle.
Set it not too high as even if the partciles are not generate this has a small performance impact.
Boolean is for the system to not be deleted when there are no more live particles. Use with care.

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
 Post subject: Re: Particle effects
PostPosted: Fri Jul 19, 2013 1:55 am 
Offline
Thalore

Joined: Mon Mar 25, 2013 10:09 pm
Posts: 153
Thanks!

I've started a wiki page. Hopefully I didn't make any mistakes:

http://te4.org/wiki/Particle_Effects

_________________
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.


Top
 Profile  
 
 Post subject: Re: Particle effects
PostPosted: Sun Jul 21, 2013 7:53 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10230
Location: Angolwen
Very nice !

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
 Post subject: Re: Particle effects
PostPosted: Mon Jul 22, 2013 2:54 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5759
Hooray!

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group