Yanwu Arena: Live Pixel Duels, Your Own Fighters and Arenas
- Lab Skill
- v0.4.6
- Game creation
A pixel fighting game that runs in your browser: five chibi fighters with four skills and an ultimate each, six arenas, training and 1v1 duels. Three Skills let your Agent make a fighter, paint an arena or change the whole game, and you drop the file straight into the live arena.
範例 · 3

在沙箱框架中執行,無法存取此頁面。
線上執行
在 SandBase sandbox 中執行,並在 Lab 中查看結果。
在 Lab 中開啟 ↗Make your own
3 個 SkillsThree Skills for your Agent. Make a fighter, make an arena, or take the whole game and change anything. Each one hands you a file you load into the arena above.

Design a fighter
Describe a character. Your Agent draws its chibi body in 12 action states, gives it a themed 3-hit basic, two damage skills, a mobility skill, a guard and an ultimate with full-screen pixel effects, and checks it in training and duels against every built-in fighter.

Paint an arena
Describe a place. Your Agent paints a 480×270 dithered backdrop on the shared floor line, with a landmark, light sources and ambient weather, then checks coverage, the HUD band and frame time and runs a full AI duel on it.
您可獲得什麼
Bring a fighter or arena idea: look, theme, how it fights or what the place is. The Skill returns three downloadable Skills (yanwu-character, yanwu-stage and the full yanwu-arena engine) and a live arena that loads their files from your disk.
運作方式
- 01
Scaffold a fighter plugin file
Yanwu Arena makes a fighter or arena as one ES module with no imports, under 500 KB. Read references/design.md and plugin-api.md, then run node scripts/pack.mjs new <id> to copy the Lantern Wisp example into yanwu-out/<id>.yanwu.js. With the user, design a silhouette, palette, themed basic attack, two damage skills, a mobility skill, a guard skill and an ultimate, with zh-CN and English names.
- 02
Paint actions and effects in code
The agent implements paint for all 12 action states and every fx mechanism layer by layer through grade, back, front and title, reusing kit primitives on a 480 by 270 pixel grid with hard pixels and no rotation. Hits happen only in the pack's hits schedule. Everything runs locally, with no image generation, model calls or keys; node scripts/stage.mjs new <id> scaffolds an arena.
- 03
Check the pack and duel it
node scripts/pack.mjs check yanwu-out/<id>.yanwu.js validates the pack, runs every skill in training and duels every built-in fighter; fix anything marked with a cross. Then npm run dev and open the player on 127.0.0.1 port 4182, load the file and review Skills at half speed, Training and Duel. Hand the user the .yanwu.js file to load in the arena.
常見問題
What can I make with Yanwu Arena?
Yanwu Arena makes your own pixel-art chibi fighter, with a 3-hit basic combo whose third connected swing fires a proc, 4 skills and 1 ultimate, or a new arena for training and 1v1 duels. It is the full engine, covering fighters, arenas, duels and balance, sprite and film export and the single-file player. For a fighter only, use yanwu-character; for an arena only, yanwu-stage.
Does Yanwu Arena need a key or a model?
No. Yanwu Arena draws everything in code on a 480 by 270 pixel grid with no image generation, model calls or keys, and it runs locally at no cost. Plugins get no network, storage or DOM access and receive everything through kit.
How do I play my own Yanwu Arena character?
Yanwu Arena loads your .yanwu.js file through Load pack or plugin, or by dropping it on the arena. A loaded fighter becomes the left duellist and a loaded arena the duel arena. The page reads the file in your browser and hands it to the sandboxed arena, so nothing is uploaded.
Is a new Yanwu Arena fighter balanced?
Yanwu Arena rescales duel damage per skill slot, so you tune timing, range and feel rather than raw numbers. The pack check duels your fighter against every built-in, and node scripts/balance.mjs runs an AI round robin of the five built-ins reporting win rate, match length and damage by source.
Can Yanwu Arena export sprites and video?
Yes, for built-in classes. Yanwu Arena's node scripts/export.mjs with a pack JSON writes the sprite sheet, frame index, review sheets, icons, poster, sound and a showcase MP4 to yanwu-out/<id>/, and scripts/reel.mjs renders intro reels. Both need ffmpeg and a CJK font.
Can I ship only an arena with Yanwu Arena?
Yes. Yanwu Arena accepts a stage-only plugin that exports an object with apiVersion 1 and a stages list. Scaffold it with node scripts/stage.mjs new <id>, check it with stage.mjs check and follow the rules in references/stage-design.md.
Does Yanwu Arena work on mobile?
Partly. Yanwu Arena loads on a phone and shows the duel, but playing needs a keyboard. Plugins run only on loopback, file: or the Lab sandbox, and the headless shoot run checks the phone layout alongside duels, combos, skills, the ultimate and the Chinese UI.
更多 Skills
所有 Game creation Skills →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.
