
I’ve added a new sprite that falls down from the top of the canvas and resets when it hits the bottom of the canvas. here is a link to my code https://editor.p5js.org/PokeSwing/sketches/zIJ5NpcAi
Multimedia Programming 1
I’ve added a new sprite that falls down from the top of the canvas and resets when it hits the bottom of the canvas. here is a link to my code https://editor.p5js.org/PokeSwing/sketches/zIJ5NpcAi
Today I added some x and y variables that makes the character move 4 different ways (up, down, left, and right).
Assignment #6
This is my first p5 creation ! it was a little challenging but I try to create a similar character from scratch.
Here is the link to the p5 code:
Finally, after some troubleshooting, I got to add my character from piskle to p5.
At first it wasn’t showing up, then after increasing the canvas size, it showed up. This good, but I may need to scale down my character size significantly.
editor: https://editor.p5js.org/M_Ahmed24/sketches/mhR-xzWD0
During this week, I turned my Piskel sprites into gifs and added them to my p5 game, and added move and display functions to them. Also organized the code so it’s easier to understand.
Link to my code
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 .