Create a sketch that uses p5.play that creates a sprite wherever the mouse is clicked. If the sprite is created in the top half of the screen, make go down. If it's created in the bottom half of the screen, make it go up.
Be sure to use the blank p5 play project template here.
Create a sketch where the player can control a sprite that can move up, down, left and right. Create two randomly positioned, randomly colored sprites. When the player collides with one of them, turn the player the same color as the sprite it collides with. Also, delete the pick-up after collision.
Be sure to use the blank p5 play project template here.
Use what we learned about keyboard input (or using mouse input from earlier in the semester), detecting collisions, and the allSprites array to create a simple "game" where you control a sprite avoiding (or collecting) other sprites. Do the following:
Projects will be graded on both creativity and implementation.
Be sure to use the blank p5 play project template here.
To hand in your work get the URL from the editor and link to it from your index.html page. To receive credit, it must be uploaded by class on the date specified. Label it clearly. Here is help if you need it.