Great art, I love the main characters animations!
For the plants interaction, these two parts of the code aren’t working together:
When you press the A button while on top of a plant it does trigger the event (you can try putting destroy sprite otherSprite
in there to see it go away), but the animation isn’t showing up because the on game update is constantly resetting the image. You can add a boolean flag (like moving) that you start at the beginning of the animation and end at the end / after a 500ms pause, and then have the on game update image resetting’s if condition be if not moving and not collecting
.
Worth a note, Richard has an extension in the works to try and make animations for moving / etc simpler to achieve: Animate vs Legacy in On Game Update
Re: Save point; these two portions aren’t working together:
when you create the statue, you clear out the tile, so that tile doesn’t exist anymore and you won’t ever overlap it. Also, you probably don’t want that ask save game?
in a while loop; it will keep asking again immediately until the player says no, so it looks like nothing is happening. Instead, you can do: