Assignment #8

In this game, the player moves left and right and has to collect light stones to accumulate points. Both the player and the stones are animated using GIFs.

My Code

Assignment 8



My new game features a player character that moves left or right with arrow keys, showing different animations for idle and moving states. Fishes fall from the top of the screen at random speeds and reset when they reach the bottom. Both the player and fish are animated with GIFs.

https://editor.p5js.org/AviIzrael/sketches/c4NoP6RIv