Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: adding a once attribute to the particle script  (Read 7430 times)

0 Members and 1 Guest are viewing this topic.

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
adding a once attribute to the particle script
« on: May 26, 2006, 04:41:27 PM »

is it possible to add an attribute to the particle script that the particles are only emitted once at the start and then are killed normaly by there lifetimes

for example when the player moves a carpet there is a big dustcloud but this happens only once and could not be repeated.[ because the carpet cant be moved later on in my game ... ;)]
or when a cannon is fired ...

i tried to get it with the current features but like i understand it i can just call the DeleteParticleEmitter funktion after a given time and then all particles are killed at the same time.
maybe something like "StopEmitting" / "RestartEmitting" would be anouther worthy addition to the really impressive particle engine....

Greets
stucki

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: adding a once attribute to the particle script
« Reply #1 on: May 26, 2006, 08:48:52 PM »

Yup, that will be useful. I see it more like MaxEmittingBatches or something like this. TODOed.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: adding a once attribute to the particle script
« Reply #2 on: May 26, 2006, 09:48:57 PM »

super. !! O0 ::rock O0

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: adding a once attribute to the particle script
« Reply #3 on: May 29, 2006, 03:45:36 PM »

another one ..... ;)

i am not sure about this but it is not possible for particle Angle and Rotation to have minus values ???
so i am only able to rotate particles the clockwise direction ??

and for emitting particles from 270 to 90 degrees could not be achieved .
now, it would be the same as 90 to 270 degrees or did i get this wrong ??

therefore it might be useful to have it -90 to 90 degrees

greets stucki


Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: adding a once attribute to the particle script
« Reply #4 on: May 29, 2006, 05:46:22 PM »

i am not sure about this but it is not possible for particle Angle and Rotation to have minus values ???
so i am only able to rotate particles the clockwise direction ??
You can use negative angular speed to make the particles rotate counter clockwise.

and for emitting particles from 270 to 90 degrees could not be achieved .
now, it would be the same as 90 to 270 degrees or did i get this wrong ??
Right, that was an omission. I fixed that.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: adding a once attribute to the particle script
« Reply #5 on: May 29, 2006, 07:20:32 PM »

WME latest adds a new MaxBatches attribute for particle emitter and it can handle angle ranges such as 270 to 90.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: adding a once attribute to the particle script
« Reply #6 on: May 29, 2006, 09:36:46 PM »

you are the greatest !!!!  O0 ::rock O0
thankx as always

stucki
 

Page created in 0.022 seconds with 25 queries.