Try to slow down your Animspeed, then check AnimPos vs Animcount
and you're done
something like this
[pascal]
if (AnimPos > ((AnimCount-1)-AnimSpeed)) then Dead[/pascal]
should work.
Anyway make large use of screen debugs (TextOut) so that you may
understand how the sprite behave
Bookmarks