ICM | #5
- DinaKhalil

- Oct 13, 2019
- 1 min read
For this class, with the help of YouTube, I created my first game on p5.js.
While creating this game, I learned how to create levels within one sketch. You can create as many levels as you like using the if statement of course in the draw function and assign a purpose below in your own functions as to what happens to go to the next level.
Try playing below š
The game is called āchase the ballā, which is self-explanatory. All you have to do is to chase the ball or hover your mouse over the ball to get points. And once you get 5 points it gets you to the final level, which is āš¼harderāš¼ and when you get 10 points YOU WIN!!
Inspiration & Special thanks to https://www.youtube.com/watch?v=c29a9h8uP4k
Comments