This updated game introduces animated character movement, with the player switching between idle and moving animations based on input. Falling fish objects, using dynamic sprites, move at varying speeds and reset after reaching the bottom, adding visual variety. The ocean background features small, animated waves for a more immersive environment. Additionally, the game now includes a life system, where the player starts with 3 hearts, represented by hearts, displayed in the top-left corner. The player loses a heart when a fish touches the center of the character’s GIF. Upon losing all three hearts, the game ends and resets to the start page. The start page shows a title, a start button, and movement instructions, with the game starting when the start button is clicked.
https://editor.p5js.org/AviIzrael/full/c4NoP6RIv








