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.



Multimedia Programming 1
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 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
For my second P5 assignment; I’ve made my character Jam move from left to right ← →. I added the X & Y variables to help my character move.
code : https://editor.p5js.org/k1tm/sketches/13wqcWHBf
This is my second time using P5. I made my character, Jam.
code : https://editor.p5js.org/k1tm/sketches/13wqcWHBf
https://editor.p5js.org/GeneralAlucard/sketches/rCcy-HP8r
Put the ninja star from the scratch game in the p5 code. I spent an hour and a half trying to figure out why my code was not running and even re did parts of my code and started to get frustrated in the middle of the night, just to figure out i was missing { } in my return code. fml .
I took some sprites from an early version of the Stick Slash tournament, converted them to GIFs, and added them to P5. I also made an enemy Object in P5.
I added X and Y variables to my character. This will help us move the player with the keyboard