A WeChat mini-game built with Cocos Creator: a small arcade shooter with both 2D and 3D gameplay components, packaged for the mini-game runtime.
MagicTale is an arcade shooter mini-game. It contains both 2D gameplay (movement, shooting, scoring) and a 3D mode (player, enemies, bullets, chase camera), running on Cocos Creator and built out to the WeChat mini-game target.
- Gameplay components — 2D:
d2Move,d2Shoot,d2Score; 3D:d3Player,d3Enemy,d3Bullet,d3Camera,d3Main. - Shared framework —
GameBase(AssetManager,MLogger) andGameCore(GameRoot,BattleSession). - Commons —
dataCenter,eventCenter, and acolliderhelper for lightweight game state and messaging. - Ships to WeChat — includes the Cocos build output under
minigame/andproject.config.jsonfor the WeChat devtools.
assets/Scripts/
├── GameBase/ Asset · Debug
├── GameCore/ GameRoot · Battle
├── components/ 2D (move/shoot/score) · 3D (player/enemy/bullet/camera)
└── commons/ dataCenter · eventCenter · collider
minigame/ WeChat build output
Built with Cocos Creator for the WeChat mini-game platform. Original code authored by me.