miu2d
luckyyyyy/miu2d · Public GitHub repository
Miu2D is a 2D RPG game engine built with Rust + TypeScript + React + Canvas, designed for the Web platform. 剑侠情缘2/月影传说/新剑侠情缘网页复刻版
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
A from-scratch 2D ARPG engine — raw WebGL, zero game-framework dependencies
Miu2D is a 176,000-line 2D ARPG engine written in TypeScript and Rust, rendering through raw WebGL with no dependency on Unity, Godot, Phaser, PixiJS, or any other game framework. Every subsystem — sprite batching, A pathfinding, binary format decoders, scripting VM, weather particles, screen effects — is implemented from first principles.
As a proof of concept, Miu2D has been used to rebuild three classic Kingsoft (西山居) wuxia RPGs, all fully playable in any modern browser.
- Full control over the render loop — a SpriteBatcher coalesces 4,800 map tile draws into 1–5 WebGL draw calls; a RectBatcher reduces 300 weather particles to a single call; a real-time lighting pass composites per-entity…
- No abstraction tax — no unused scene graph, no 3D math overhead, no framework event model to work around.
- Rust-speed where it matters — A pathfinding runs in 0.2 ms via WASM with obstacle data written directly into linear memory (no serialization, no FFI copy).
- Clean architecture for study — an 8-level class hierarchy (Sprite → CharacterBase → Movement → Combat → Character → PlayerBase → PlayerCombat → Player) with clear separation of concerns, ideal for understanding how a…
Requirements and intended audience
A from-scratch 2D ARPG engine — raw WebGL, zero game-framework dependencies
Clean architecture for study — an 8-level class hierarchy (Sprite → CharacterBase → Movement → Combat → Character → PlayerBase → PlayerCombat → Player) with clear separation of concerns, ideal for understanding how a…
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-15. Source: https://github.com/luckyyyyy/miu2d/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-09-06. A published release has not been recorded. These dates do not guarantee ongoing maintenance.
- Technologies
- TypeScript
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
hyperframes
heygen-com/hyperframes
Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
archify
tt-a1i/archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
AdminLTE
ColorlibHQ/AdminLTE
AdminLTE - Free admin dashboard template based on Bootstrap 5
ppt-master
hugohe3/ppt-master
AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He