Skip to content
Rise.js
v0.1.0-alpha.3
alpha
ISC

Rise.js

A framework for 3D, 2.5D and 2D web games on three.js.

The core covers what every game needs: game loop, input, camera, HUD, saves. Genre features live in packs that you import when you need them.

$npm create risejs@latest my-game

Have a project already? Add it withnpm install risejs-core three

src/main.js
import { createApp, box } from 'risejs-core';
import 'risejs-core/style.css';

const game = {
  id: 'hello',
  title: 'Hello Rise',

  build(app) {
    app.add(box({ size: [2, 2, 2], position: [0, 1, -6], color: 0xffb347, tags: ['spin'] }));
  },

  tick(dt, app) {
    for (const e of app.world.query('spin')) e.mesh.rotation.y += dt;
  },
};

const app = await createApp({ game });
app.start();

A game is an object with build() and tick().The game module

What's in Rise.js

core

Small core, opt-in packs

Packs ship inside risejs-core. Your bundler only includes the ones you import.

genres

Many genres, one API

FPS, top-down, grid tactics, platformer, 2D, interactive video, RPG, roguelike.

basics

Basics built in

Keyboard, mouse, gamepad and touch input. First-person, third-person, top-down and isometric cameras. HUD, saves, i18n.

packs

Gameplay packs

Combat, inventory, quest, dialogue, navmesh, tilemap, terrain, physics and more.

server

Multiplayer server example

An optional example on Cloudflare Workers and Durable Objects, with server-side validation of player actions.

agents

Docs and MCP

Full docs, plus an MCP endpoint so AI coding agents can look up APIs and packs.

Packs

Each pack is a separate plugin. Import it from risejs-core/packs/<name> and turn it on with app.use().

All 47 packs

For AI agents

risejs.dev has a read-only MCP endpoint at /api/mcp. Add it to Claude Code, Cursor or another MCP client and your agent can look up docs, packs and APIs while you code.

  • search_docs
  • get_doc
  • list_packs
  • get_api
  • framework_info
How to connect
mcp.json
{
  "mcpServers": {
    "risejs": {
      "url": "https://risejs.dev/api/mcp"
    }
  }
}