Need some help on a particle system
![rotor](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi,
I'm working for a game prototype as a freelance assignment.
I need some help on a particle system. I have set up the particle system to emit from a random range of Y coordinates random(-150,150). It doesn't matter how many particles I set but all the particles are always spawning from the same location, if I spawn in 250 particles, I get at most 4 actual random spawn locations.
I tried randomising the spawn time because I figured this might have to do with the particles being spawned in the same frame, but this didn't help either.
Does anyone have any idea how to get this to work without having to script my own particle solution?
Thanks for any help!
A note to the Developers of GameSalad: the lack of a good technical documentation is really hurting my speed of development. I'm finding myself increasingly going for a long trial and error approach because I can't find technical documentation for advance users. Thanks for this software, it's been really great fun to use!
I'm working for a game prototype as a freelance assignment.
I need some help on a particle system. I have set up the particle system to emit from a random range of Y coordinates random(-150,150). It doesn't matter how many particles I set but all the particles are always spawning from the same location, if I spawn in 250 particles, I get at most 4 actual random spawn locations.
I tried randomising the spawn time because I figured this might have to do with the particles being spawned in the same frame, but this didn't help either.
Does anyone have any idea how to get this to work without having to script my own particle solution?
Thanks for any help!
A note to the Developers of GameSalad: the lack of a good technical documentation is really hurting my speed of development. I'm finding myself increasingly going for a long trial and error approach because I can't find technical documentation for advance users. Thanks for this software, it's been really great fun to use!
Best Answer
-
Photics Posts: 4,172
Random only uses whole numbers... random(0,1)*10 would only return Zero or Ten.
Answers
2) If you're looking for good technical documentation, Maybe this will interest you... http://photics.com/books/gamesalad-textbook
I'm trying to avoid at all cost writing my own solution for these particles. I'm not seeing why something like random(0,10) or random(0,1)*10 wouldn't work for spawning each individually spawn particle on a different coordinate. This would seem to me like a basic requirement for a particle system, I'm at a loss.
I entered .5 as a value of the particle start up time, this now gives me the expected behaviour. The particles also stream continuously which was something I wasn't expecting without wrapping the particle system an additional timer, but it gives me the result I was looking for.
Thanks for your help Photics!