SparkForge.js
Design. Build. Play.

A full 2D game engine that runs in your browser.
AI-assisted generation. Visual scripting. Real-time playtesting.
From quick prototypes to production-quality games.

Open Editor How It Works

Built on real engineering

Not a toy. A full engine with 63+ systems, physics, scripting, and a rendering pipeline.

Physics

Rapier 2D

Production-grade rigid body physics. Runs in a Web Worker with fixed-timestep simulation. Handles 5,000+ bodies at 60fps.

Rust → WASM
Scripting

QuickJS Sandbox

User scripts run in an isolated WASM sandbox with CPU and memory limits. No main-thread blocking, no security risks.

640KB memory cap
Rendering

Pixi.js + WebGPU

GPU-accelerated 2D rendering. Sprite batching, particle systems, lighting, post-processing. WebGPU path for maximum performance.

50K+ sprites (WebGPU)
AI Pipeline

Multi-Model Orchestration

Terrain generation, scene composition, dialogue writing, rule creation — all previewed before applying. Every change is undoable.

Zod-validated outputs
Event System

RPG Maker-Style Events

Event pages, conditional branches, self-switches, common events. The same proven system used in professional RPG makers.

30+ command types
Networking

CRDT Collaboration

Real-time multiplayer editing with conflict-free replicated data types. Vector clocks, operation-based sync, region locking.

Zero-conflict merge

From beginner to expert

Start with AI and templates. Graduate to visual scripting. Master the full engine.

💬

Describe

Tell the AI what you want in plain English. "Add a haunted forest with NPCs and quests."

Beginner
🎨

Customize

Use the visual editor to refine terrain, place assets, adjust encounters. No code needed.

Intermediate

Script

Build complex logic with the node graph editor. Connect events, conditions, and actions visually.

Expert

Engineered for performance

Not just playable — smooth. Real benchmarks, real numbers.

5,000+
Physics bodies at 60fps
Rapier WASM in Web Worker
50K+
Sprites (WebGPU tier)
Instanced GPU rendering
100K
Tiles with chunking
Only visible chunks rendered
<1ms
Frame time (WebGPU)
GPU-accelerated pipeline
60Hz
Fixed-timestep sim
Deterministic physics + logic
0
Main-thread blocking
All heavy work in Workers

Everything you need

A complete game development environment — not a collection of disconnected tools.

🤖

AI Copilot

Generate terrain, scenes, dialogue, quests, and game rules. Preview before applying. Every change is undoable. Works with GPT-4, Claude, or local models.

🎮

Real-Time Playtest

Press Play and your game runs instantly. Pause, step, inspect entities, view quest state, trace events. Debug like a pro.

📤

13 Export Formats

HTML5, Desktop (Tauri), Godot, Unity, TMX, glTF, and more. Or share a playable link instantly.

🎯

Genre Templates

Top-down RPG, platformer, tower defense, roguelike, farm sim. Pre-built markers, quests, triggers, and encounters.

💬

Streamer Integration

Connect Twitch or Discord. Viewers influence the game via chat commands. Build games live with your audience.

🔧

Full Manual Control

Node editor, terrain painter, collision editor, shader graphs, cutscene timeline. AI is a helper — you have complete control.

See it in action

From prompt to playable game in seconds.

Build any genre

Templates for the most popular game types — with full gameplay systems pre-wired.

🗡️
Top-down RPG
NPCs, quests, combat, dialogue
🏃
Platformer
Physics, jumps, collectibles
🏰
Tower Defense
Pathing, waves, economies
⚔️
Roguelike
Procedural, loot, permadeath
🌾
Farm Sim
Crops, animals, crafting
🧩
Puzzle
Logic, physics, patterns

Start building today

Open the editor in your browser. No download. No account. No limits on what you can create.

Open SparkForge.js