Basic Examples of Using Box2D-WASM with Melon.js in JavaScript

Discussions:

Debug drawer of Box2D-WASM colliders

GitHub repository with an instruction for Rollup

Playgrounds/Sandboxes:

debug-drawer-box2dwasm-melonjs-js

Contact listener and user data

Live demo

GitHub repository

Playgrounds/Sandboxes:

falling-box-contact-listener-user-data-box2dwasm-melonjs-js

Ray casting and user data

Live demo

GitHub repository

Playgrounds/Sandboxes:

falling-circle-ray-casting-box2dwasm-melonjs-js

Jumping with ground check using ray casting

Live demo

GitHub repository

Playgrounds/Sandboxes:

can-jump-with-ray-casting-box2dwasm-melonjs-js

1 Like