# miu2d

Miu2D is a 2D RPG game engine built with Rust + TypeScript + React + Canvas, designed for the Web platform. 剑侠情缘2/月影传说/新剑侠情缘网页复刻版

Canonical page: https://www.reposhelf.co.uk/projects/github/luckyyyyy/miu2d.html

- Project ID: luckyyyyy/miu2d
- Source: GitHub
- Original project: https://github.com/luckyyyyy/miu2d
- Description attribution: project author metadata
- Categories: Design, Games &amp; game development
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-03T12:07:42.547Z
- Demo page loaded: 2026-11-20T19:21:35.687Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> 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…

## Author-documented requirements and 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.

Source: https://github.com/luckyyyyy/miu2d/blob/main/README.md

Extraction checked: 2026-10-15T21:46:38.152Z

Last recorded source update: 2026-09-06T06:40:54.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=luckyyyyy%2Fmiu2d). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
