In game loop, reset index to 0, go through 4 animations, then do something
can someone help me to show* all 4 images of the dying animation before setting to gameover*? it works for setting game over in the player class but when I try to set game over when walking on a trap (lava), it only shows the first animationindex and I don't know how to correctly show all images of dying and then set game over
Player
ObjectManager:
2 Replies
⌛
This post has been reserved for your question.
Hey @Erky! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Post Closed
This post has been closed by <@272473391041347585>.