Read-Only Mode: Your progress will not be saved, and certain functions are unavailable. Sign up to access the full features of Cratecode.
Throughout our look at p5.js, we've worked with drawing simple and complex shapes, applying gravity to objects, stopping an object from going past a certain point, and moving it based on user input. Now, let's try to put it all together and create a basic game of sorts. A lot of what it does is up to you, but here's some things that it should include:
Here's some tips on jumping:
Other than those requirements, you can customize it however you like. You can add some objects to the scene (maybe a grassy ground and a little sun in the sky), change up how some mechanics work, and anything else you can think of. Good luck!
Output is unavailable in read-only mode.