In my little Platformer Game the layer has to jump upon a rolling barrel to find his Bagpipe Chanter.
At the beginning of the scene the Bagpipe is hidden (Action: “Hide Bagpipe”). When the Player jumps upon the barrel, it explodes and when the animation is finished, I set the actions “delete barrel” and “show bagpipe” (it doesn’t matter at what position the Player destroys the Barrel, the Chanter always appears on the same position). That works absolutely fine.
But when the object is hidden I can still collect it so I made the following event to check the visibility in case of a collision btw Player/Bagpipe:
Problem is now: When the Player jumps upon the barrel but is NOT in collision with the Bagpipe, the Bagpipe still gets deleted (after you saw it for around 0,2 sec).
I couldn’t find another condition or action which could help me, maybe someone has an idea?