This platform game is a simple state system originally written in Processing and ported to P5js.
The code was developed in stages to learn the foundation process of writing a platform style game in Processing. The first stages introduced movement, friction, bouncing, and gravity. Then jumping required the development of collision detection. This game uses a simple rectangle style intersection method for collision detection. With the minimal number of objects in the game, it is fast and simple. Enemies and images round out the game.
Sound in Processing uses the Minim sound library. Migrating to P5js uses the P5 sound library. Sound effects were created using the online sound generator bfxr
Many thanks to Kevin MacLeod for the awesome music. Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/