hi and first of all, sorry for im about to ask a really noobish question, but i cant seem to find my way around this obstacle.
player sprite. ground sprite. effect sprite.
player sprite overlaps ground sprite.
--ground sprite spawns one effect sprite.
player sprite does not overlap ground sprite, the effect sprite that was spawned gets destroyed.
now, the object picking. how to make it so that it doesnt destroy ALL those spawned effect sprites, but only the one that was spawned on a ground sprite that just stopped overlapping the player sprite?
i tried for each condition (and trigger once), but somehow i managed to make an infinite loop where the effect sprite kept spawning, thus quickly jamming the whole game.
to say it simply, imagine the player running through piano keys.every key is that ground sprite and something happens only once when player overlaps it.
i know this is amateur stuff, but i just got so confused with object picking and now i cant think straight.
thanks for reading!