Problem with overlap shine effect.
I am working on a function. Say, when i drag item A overlapping with item B, B shinning.
Because there are too many type of item B, i am not going to create a shine effect picture for each of them.
I am trying to make a function detect whenever B collide with A, it spam a shine effect under it. Else, the shine would be invisible.
However, B could be drag too, and there are way too many item B in the scene.
I need each of the shine effect follow each of the parent B position at the same time. So i still need to tell the scene all the B position and let the shine effect follow it.
Is there a less complicated way to do it? Hope u guys can give me some opinions.
Thank you guys.
Best Answer
-
tatiang Posts: 11,949
I think you'll want to use particles for this instead of spawning an actor and then needing to sync its position constantly.
@greedydady Here's a demo by @tshirtbooth that you might find useful: https://www.dropbox.com/s/fof7s6tispa6xt9/sparkleparticles.zip
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
this is really helpful and way more easy than what i did. Thanks man!
You're welcome!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User