How quangthienlyoi-ux/meonehero-engine works
MNHR-Engine is an alpha low-code 2D game-making engine. The main workflow is authoring a game in the browser-based editor, then generating a playable browser runtime; the README describes 2D game creation, with RPG and 2.5D as future aims. The sampled source is a single, large engine.js file, so editor, runtime, and asset responsibilities are shown as logical areas within that file rather than separate modules. Several capabilities are documented or suggested by excerpts, but unsampled implementation details and the HTML-to-engine wiring are not asserted.
Main entry points: engine.js Engine Editor
Components 13
Game Authoring
- Engine Editor
engine.js - Editor Input
engine.js - UI Authoring
engine.js - Hitbox Editor
engine.js
Game Runtime
- Generated Runtime
engine.js - Runtime Input
engine.js - Runtime UI
engine.js - Audio Loading
engine.js
Project Assets
- Project Assets
engine.js - Font Library
engine.js - ZIP Import
engine.js
Other components
- Game Creator
- Browser
Connections 13
- Game Creator → Engine Editor: authors games
README.md - Editor Input → Engine Editor: updates state
engine.js - Engine Editor → Hitbox Editor: edits hitboxes
engine.js - Engine Editor → UI Authoring: configures UI
engine.js - Engine Editor → Generated Runtime: generates runtime
engine.js - Generated Runtime → Runtime Input: handles input
engine.js - Generated Runtime → Runtime UI: draws controls
engine.js - Generated Runtime → Audio Loading: loads audio
engine.js - Engine Editor → Project Assets: manages assets
engine.js - Engine Editor → Font Library: imports fonts
engine.js - Font Library → Engine Editor: refreshes text
engine.js - ZIP Import → Project Assets: reads archive
engine.js - Browser → Generated Runtime: runs game