During this week I made my buttons functional and added my backgrounds. Also added a score and font to my game.
link to my code

Multimedia Programming 1
During this week I made my buttons functional and added my backgrounds. Also added a score and font to my game.
link to my code
I added images and objects to my p5 sketch.
https://editor.p5js.org/ramnathkierynn/sketches/oQsYw1mWq
https://editor.p5js.org/ramnathkierynn/full/oQsYw1mWq
I was able to add X & Y variables to get my character to move from left to right on the screen
Link to my code : https://editor.p5js.org/mdtorou/sketches/GxhnQ9C8_
I implemented collision detection, sound effects for collisions and attacks, and background music. Additionally, I updated the sounds to ensure they play only after finishing.
Sprite look and fruits falling from above for the player to catch inside a basket
Adding Sound, collision detection code to the game
I implemented collision detection and added animations for the collisions. I also included background music and a sound effect for attacking and being hit.