a port of the Mario 2D @box2d/core Demo using the WebAssembly version of Box2d, that showcase integration of melonJS with box2d-wasm.
a tiny mario 2d platformer game built with melonJS and the box2d-wasm physics engine that showcase key features of melonJS :
- WebGL rendering
- integration with Box2D (WebAssembly version) physics engine (as part of this demo)
- Tilemap integration
- Texture packing
- Bitmap Font
Note: this is a proof of concept, not a accurate implementation of a super mario game physic & logic
If you wish to build the demo and expand on the current features, you will need to install :
then
npm run dev
to start the dev server on watch mode atlocalhost:9000
npm run build
to generate a minified, production-ready build, in the docs folder
Note: building the project under the
docs
folder will trigger the workflow for the GitHub Pages deployment.
- improve player movement and jumping logic to mimic super mario "real physic"
- add enemies and collectables with proper contact/collision handling
- add parallax background and other details to the mini level
- 8observer8 for the original demo
- 8observer8 for the Debug Drawer, Contact Listener and User Data demos with melonJS.
- melonJS for the game engine
- box2d-wasm Box2D compiled to WebAssembly
- Tiled for the map editor
- FreeTexturePacker for the free texture packer
- SnowB for the BitmapFont editor