1 个仓库
Swap the underlying physics engine at startup by passing a different adapter instance to keep gameplay code portable through a unified API.
Distinct from Physics Engines: Distinct from Physics Engines: focuses on the adapter pattern for swapping engines, not the physics engine itself.
Explore 1 awesome GitHub repository matching game development · Physics Engine Adapters. Refine with filters or upvote what's useful.
melonJS is a lightweight HTML5 game engine for building 2D games in the browser using JavaScript. It provides a complete framework for sprite animation, tilemap loading, physics simulation, input handling, and audio playback, with a unified rendering system that automatically switches between WebGL and Canvas2D backends without code changes. The engine distinguishes itself through several integrated capabilities. It features a per-sprite shader pipeline for custom fragment shader effects, a SAT-based collision engine with swappable physics adapters (including built-in SAT, Matter.js, and Plan
Provides a physics engine adapter system that swaps between SAT, Matter.js, and Planck/Box2D at startup.