Assignment 9

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.

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

p5.Project: Overhaul

Late. I took to create new artwork, which delayed me sometime, but with the art complete I can now focus on the code and make adjustments line by line.

Video

Screenshot

It is probably still big in artwork, but much more manageable than the previous artwork that I implemented last time.

editor: https://editor.p5js.org/M_Ahmed24/sketches/mhR-xzWD0

p5.js / jam / 10

I completed the game, to finish you’d need to feed Jam 20 fish. You also have the chance to restart after.

https://editor.p5js.org/k1tm/sketches/qs4VzJRBv


>rewrote reset function to better suit points addition logic
>added points per fish, +1 exact.
>added 3 scenes. start menu, main game and restart menu
>added bite sound to cat
>added identifiers to detect if copy of fish1/fish2 have reset to detect when to add a point without adding 10000 points per second

p5.js / jam / 8

For this assignment, I had to redo the sprites for Jam into something more interactive. Here’s a list of things I changed for this assignment.

Change log:

  • removed p5 generated character sprite & added animated GIF’s to replace player sprite
  • properly coded player entity and fish collatable
  • tidied up coding and organized lines within their proper lines
  • added background music
  • added collision element between player and both fish entities

https://editor.p5js.org/k1tm/sketches/kdLnrX6Fc