Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Yanwu Arena: Live Pixel Duels, Your Own Fighters and Arenas

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

Yanwu Arena playable game
新しいタブで開く

サンドボックス化されたフレームで実行され、このページにはアクセスできません。

オンラインで実行

SandBase sandbox で実行し、結果を Lab で確認できます。

Lab で開く ↗

Make your own

3 Skills

Three 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.

得られるもの

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.

仕組み

  1. 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.

  2. 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.

  3. 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.

FAQ

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.

Lab Skill · Games

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.

Lab Skill · Games

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.

Lab Skill · Games

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.

Lab Skill · Games

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.

Lab Skill · Games

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.

Lab Skill · Games

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.