How to destroy Particles
ashv
Member Posts: 3
Hey guys,
I need help to destroy the particles after they have been touched. The particles are coming off from another actor, like from a bin. Any help will be really helpful.
Thanks
Comments
When you say 'destroy particles' what do you mean exactly?
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
I want the particles to disappear when you press them. I have been able to make the actor which i am using as the particle to disappear when touched, but not the particles
You can't interact with particles like that... once spawned on screen they are just 'scenery'.
If you want the kind of interaction you describe you need to not use the Particles Behavior and need to build your own spawner that spawns actual actors you can then interact with.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thanks for the help Jamie
You're welcome. Let me know if you have any other questions.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@ashv
@jamie_c
Hey sirs....I used to make "debris" with particles....I now make an actor called "debris"....move in random (1,359) that are spawned when my bullet collides with bad guys. If you do this you now can have attributes such as "when touched"...destroy debris. This is pretty easy to do.
Outside the box :-)
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
[angle pedant]
(1,359)
Using only 1° to 359° misses out slightly less than 2 degrees !
[/angle pedant]
@Socks
Hmmm....Yes. That whole angle pendant thing.
I once saw in a tutorial to put those values. I never questioned it. For some reason I thought 0 and 360 was really the same value. No?
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
Lol, I like getting myself involved in things that ultimately don't matter
Yes, like you say, 0° and 360° are the same value (the object is 'pointed' perfectly right).
As the random function only produces whole numbers (unless you force it to do otherwise) you should, ideally, use something that covers the whole range of angles (if you want the whole range of angles), so 1°-360° or 0°-359°.
But ultimately if you use 1°-359° no one will notice
@Socks "No one will notice"
My OCD WILL NOTICE.... It's always noticing things. omg I have to change all my games now. Lol. JK.
Btw no fair...I can't make cute little degree symbols....
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing
OSX: shift + alt + 8 = °
Sawheeeeet! I would have to be on mobile right now. Foiled again !
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing