Re: Play animation on collision. Destroy animation
Here you go, I updated the thread. In case you won't be able to open the Unicode file there's also a screenshot of the two events that fuel the experiment, one is
.active 1 collides with active 2
=play sound
.pressed space
=destroy active 1 (rectangle)
Re: Play animation on collision. Destroy animation
Ah, I think my confusion here is due to you using the "obj collides with obj" check, which only returns true once and can be affected by a frame skip (which is why I don't use any overlapping condition besides "Is obj overlapping obj). The "is obj overlapping" is checked every frame and will return true if the overlapping occurs during a Disappearing animation (at least that is how my experience has been).
So, if you do the one time check you are suggesting, the problem I described won't occur. But you might not get your code to fire at all if you miss that frame entirely. :)