Particle frustration - please help? ;);)
allc1865
Member, PRO Posts: 777
Hi - so I've been trying different ways to get my particles to work, but I can't seen to figure it out.
Every single time a touch is pressed, a new set of particles come out. As of right now - every time touch is pressed the particles that did come out just repeat themselves. There's no big smoke particles as I had planned...
So any kind help would be great. I appreciate it. Thank you
Best Answers
-
-Timo- Posts: 2,313
can you explain better what kind of particles? when does it happen? what do you have now? whats your code? what is wrong? how do you want it?
will also send you PM (because of the weird rules I cant post the link here)
Answers
Hi @timolapre1998, the particles are smoke particles. It's just a basic image of smoke and I'm using the particles behavior.
My particles are spawned when buttonA is pressed, and buttonB is tapped.
As of right now I have when ButtonA is true (meaning, when it is pressed) and buttonB is true (meaning it is pressed) > spawn particles.
In the button that you must tap I have: when touch is pressed > change attribute > particles to true and buttonB to true.
The problem is is that whenever I tap the button, the particles that come out keep resetting. A new set doesn't come out with every tap.
Thank you so much!
If you want a continuous stream of particles instead of a burst you probably don't want to tie to the touch of a button. Just build a particle spawner and place it on screen or spawn it to screen when you want your smoke to display.
I have a free fire and smoke particle effect at my website (under free stuff) if you want to check it out. I don't think I can post the link here anymore so just go to my site that is linked in my signature.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Hi @Jamie_C, thank you for your reply. I checked out your website - nice particle effects!
I actually - for this effect would like to have a touch button spawning the particles because for this particular effect, that's what I need.
Thanks for your help!
Also, the particles and smoke effects on your website say it is $5.
@allc1865, I'll throw you a sample together and post here.
Also if you look in the 'Free Stuff' section of my site you can find just the 'fire and smoke' particles (not under the 'templates' section).
Back with the sample soon...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@Jamie_C, thank you very much! That template did help out a lot.
I got it figured out now, thanks
great, glad it helped!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page