Kagura Examples

Interactive examples for Kagura, a MoonBit game engine. Open any card below to launch the demo, review controls, and jump to source.

Browse games and technical demos with screenshots →

Games

EMBERWING

Control a dragon in a rail shooter with homing fireballs and flame breath. Fight enemy formations, dodge projectiles and obstacles, and face a giant boss.

Controls: Mouse: aim / fly

  • 3D
  • Aerial Shooter

ASHEN REALMS

A 3D action RPG with loot, equipment, and skill combinations. Develop different builds and explore connected maps.

Controls: WASD / Arrow: move

  • 3D
  • Action RPG

IRON YARD

A third-person mech shooter with boost movement, rifle fire, lock-on missiles, and waves of enemies.

Controls: Open the example source for control details

  • 3D
  • Mech TPS

Technical Demos

Gameplay

Card Game

Build a deck, balance attacks and defense, and climb through increasingly difficult encounters.

Start: Opens directly into a card battle. Click a card to play it.

Controls: Click a card to play it

  • 2D
  • Cards
  • Roguelite

Flappy Bird

One-button 2D game loop demo.

Start: Tap the canvas or press Space to start.

Controls: Tap / Space: flap

  • 2D
  • Scene API

Survivor

Auto-attack survival prototype with leveling.

Start: Press Space to start, then keep moving.

Controls: WASD / Arrow: move

  • 2D
  • Camera
  • Leveling

Arena 3D

Collect items, shoot targets and experiment with stacked boxes and bouncing balls in first or third person.

Start: Opens directly into the scene.

Controls: WASD / arrows: move; Space: jump

  • 3D
  • FPS / TPS
  • Physics

2D / UI

Scene Demo

Minimal declarative Scene API example.

Start: Open the page and move the square.

Controls: WASD / Arrow: move

  • 2D
  • Scene API

UI Demo

Focus handling and layout interactions.

Start: Use keyboard or mouse to move focus.

Controls: Tab / Shift+Tab: move focus

  • UI
  • Focus

Fetch Image

Asset loading demo that fetches and renders an image.

Start: Loads automatically on open.

Controls: No input required

  • Asset
  • Image

Crater Renderer

HTML/CSS rendered to WebGPU via crater layout engine.

Start: Loads automatically — renders an HTML dashboard.

Controls: No input required

  • 2D
  • HTML
  • CSS
  • Text

3D Rendering

Particle System

Billboard particle rendering showcase.

Start: Orbit around the particles for a closer look.

Controls: Left drag: orbit camera

  • 3D
  • Particles

Shadow 3D

Depth-based shadow mapping demo.

Start: Loads directly into the scene.

Controls: Automatic camera motion

  • 3D
  • Shadow

Post Effects

Bloom, tone mapping, and FXAA post-processing demo.

Start: Loads directly into the scene.

Controls: Automatic camera motion

  • 3D
  • PostFX

Skeletal Animation

GPU skinning and animated character demo.

Start: Loads directly into the scene.

Controls: Automatic camera motion

  • 3D
  • Animation

Physics

Physics 3D

Rigid body and collision demo in 3D.

Start: Loads directly into the scene.

Controls: Automatic camera motion

  • Physics
  • 3D

Physics 2D

2D body spawning and collision sandbox.

Start: Click the stage to spawn bodies.

Controls: Click: spawn a new body

  • Physics
  • 2D

Ragdoll

Drag-and-drop ragdoll interaction demo.

Start: Grab a body part with the mouse.

Controls: Click and drag: pull the ragdoll

  • Physics
  • 2D

Collision 3D

Raycast and collision query viewer.

Start: Move through the scene and watch hits update.

Controls: WASD: move

  • Physics
  • 3D

Tools

Effect Studio

AI-first timeline effect editor with particle preview and timeline feedback.

Start: Orbit the preview, scrub the timeline, and inspect the published AI editing context in the browser console.

Controls: Left drag: orbit camera

  • 3D
  • Particles
  • Timeline
  • AI

Machinations

Machinations-style game-economy simulator: a Cookie-Clicker loop with pools, sources, a converter, a gate and a feedback modifier, plus a live time-series chart.

Start: Click the gold CLICK / BUY nodes; press SPACE to run time.

Controls: Click gold (interactive) nodes to fire them

  • Tool
  • Simulation
  • Economy
  • Chart

Studio

Kagura Studio

Edit scenes, preview motions, and create 3D models in the browser.

Model kawaiko

Open the editable kawaiko model with Blender-style modeling controls.

Controls: G / R / S: transform · Tab: edit mesh · Middle mouse: orbit