Engine API Reference

Every system in the RPG Reactor runtime v0.99.7, explained with screenshots and examples. 71 modules and 8,340 functions, each linked to its exact line of source.

How the Engine Fits Together

Each layer builds on the one below it. Your plugins sit on top and can reach into any layer. Click a layer to jump to its modules.

Start Here

The objects plugin authors reach for most often.

The Database: everything Core loads at boot. The Database: everything Core loads at boot.

11 modules · 1,005 functions

Core

The foundation everything else stands on. Core boots the game, loads the Database (actors, items, maps and more, all from JSON), reads input from keyboard, mouse, touch and gamepads, plays audio, saves and loads, and loads plugins in order.

It also hosts ReactorEvents, the event feed that lets plugins react to battles, doors and vehicles without patching engine code. If you're writing a plugin, PluginManager and ReactorEvents are your first stops.

reactor_controls.js Controls A project may set its own keys and gamepad buttons (Database › Controls, System.json reactorControls); they are applied… 21 functions reactor_core_display.js Reactor_core_display reactor_core_display.js v1.7.0 Sprite, Tilemap, TilingSprite, ScreenSprite, Window, WindowLayer, Weather, ColorFilter a… 138 functions reactor_core_io.js Reactor_core_io reactor_core_io.js v1.7.0 WebAudio, Video, Input, TouchInput and JsonEx. 54 functions reactor_core.js Reactor_core The heart of the runtime: utilities, graphics setup, input and the ReactorEvents feed. 138 functions reactor_features.js Which of Reactor's Own Additions a Game Uses Database > Reactor Features switches off an addition a plugin already provides; the game asks here before doing it: 1 function reactor_json.js Reactor_json JSON file boundary: decode Unicode BOMs before parsing, without changing JSON.parse. Configuration / data file reactor_main.js Runtime Entry Point The same stamp, reachable from the F12 console: which engine is this window actually running? 21 functions reactor_managers.js Reactor_managers The managers: DataManager (loading the Database and saves), ConfigManager (options), SceneManager (switching screens),… 435 functions reactor_mv_compat.js Reactor_mv_compat reactor_mv_compat.js RPG Maker MV compatibility layer. 98 functions reactor_physics.js Jumping and Gravity On 3D maps: a character has a height and a vertical speed. 99 functions reactor_plugins.js Reactor_plugins Generated by RPG Reactor Plugin Manager Do not edit this file directly - use the Plugin Manager instead Configuration / data file
Everything here is tracked by Game Objects: the party, the map, its events. Everything here is tracked by Game Objects: the party, the map, its events.

7 modules · 1,750 functions

Game Objects

The game's state: who is in the party, their HP and equipment, where everyone stands, which switches are on, and the event interpreter that runs your event commands. These are the familiar $gameParty, $gameActors, $gameMap, $gamePlayer and $gameSwitches objects.

If it ends up in a save file, it lives here.

The main menu, drawn by Scenes and Windows. The main menu, drawn by Scenes and Windows.

9 modules · 2,214 functions

Scenes, Sprites & Windows

What the player sees. A scene is a whole screen (title, map, menu, battle). Sprites draw characters, pictures, weather and effects. Windows draw menus, messages and lists.

This layer turns Game Objects into pixels, using PixiJS 8.

Designing a custom interface with motion in the editor. Designing a custom interface with motion in the editor.

4 modules · 539 functions

User Interfaces

Menus and HUDs you design in the Database, with no code: boxes, images, text, buttons, gauges, lists and text inputs. Replace any of the 12 stock screens per project or build a battle HUD.

ReactorUI is the runtime that draws and runs them.

North Haven at night: lighting, models and foliage, all in 3D. North Haven at night: lighting, models and foliage, all in 3D.

13 modules · 1,102 functions

3D & HD-2D

The 3D world, built on Three.js. A 3D map keeps its RPG Maker grid while Reactor3D adds elevation, buildings from the Build bar, models, lighting and shadows, foliage that sways in the wind, water, doors, speech and in-scene effects.

Three.js loads only when a 3D map needs it, so 2D games stay small.

reactor_3d_doors.js 3D Doors That Open, and Framed Windows An extension of Reactor3D (reactor_3d.js), loaded after the world builder: in the game from scriptUrls, in the editor f… 28 functions reactor_3d_effects.js 3D Model Effects An extension of Reactor3D (reactor_3d.js): the effects that ride a model. 51 functions reactor_3d_foliage.js 3D Foliage: Grass, Flowers, Ferns, Reeds, Bushes An extension of Reactor3D (reactor_3d.js), loaded after the world builder: in the game from scriptUrls, in the editor f… 34 functions reactor_3d_lighting.js 3D Lighting and Shadows An extension of Reactor3D (reactor_3d.js): the lights of a 3D map and the shadows they cast. 146 functions reactor_3d_models.js 3D Models An extension of Reactor3D (reactor_3d.js): how a character, an event, a vehicle or a placed prop becomes a model in the… 315 functions reactor_3d_motions.js Reactor_3d_motions reactor_3d_motions.js - the shared motion library: the poses and motions of Forge › 3D Character Builder and the defaul… 8 functions reactor_3d_rider.js Reactor_3d_rider The rider on a vehicle: hips on the seat point, hands on the grips, feet on the rests, the arms following the bars. 16 functions reactor_3d_speech.js Reactor_3d_speech Waveform-driven 3D speech. 4 functions reactor_3d_surround.js 3D Surroundings: The Land Past a Map's Border An extension of Reactor3D (reactor_3d.js), loaded after the world builder: in the game from scriptUrls, in the editor f… 101 functions reactor_3d_vehicles.js Vehicles: The Model's Side An extension of Reactor3D (reactor_3d.js): in the game from scriptUrls, in the editor from Reactor3D.EXTENSIONS, in Nod… Configuration / data file reactor_3d_world.js 3D World Builder: Terrain, Pieces, Water An extension of Reactor3D (reactor_3d.js): the authored ground and the 3D tileset. 185 functions reactor_3d.js HD-2D Renderer The core of the 3D renderer. 214 functions reactor_rig_motions.js Reactor_rig_motions RigMotionPresets - plug-and-play motions for the standard rig templates. Configuration / data file
A Battle Room: a classic battle staged in 3D. A Battle Room: a classic battle staged in 3D.

13 modules · 1,223 functions

Battle

Every way to fight. Classic battles on their own screen (with optional Battle Rooms and Action Sequences), and battles on the map: Tactical (turn-based grid), Action (real time) and First Person.

Start one from a script with $gameFight.start({ mode, troopId }) and watch it through ReactorEvents.

reactor_battle_data.js Reactor_battle_data Shared, side-effect-free battle presentation data and timeline evaluation. 71 functions reactor_battle_events.js Reactor_battle_events Room-local event characters and interpreter targets inside Scene_Battle. 39 functions reactor_battle_presentation.js Reactor_battle_presentation Opt-in battle rooms and sequence playback, installed after project plugins. 75 functions reactor_battle_room.js Reactor_battle_room A battle-owned map viewport. 116 functions reactor_fight_action.js Action and First Person Battles on the Live Map The real-time driver for the modes "action" and "firstPerson" (docs/BATTLE- MODES.md): no turns and no phases. 139 functions reactor_fight_camera.js The Cinematic Camera for Battles on the Map A Tactical battle is watched from the map's own view. 56 functions reactor_fight_classic.js Placed Enemies on a Classic Map On a map whose battle mode in force is Classic, the enemy units the map's start rule takes open the battle screen (Scen… 31 functions reactor_fight_flow.js How a Battle on the Map Begins, and Who Is in It A map starts its battle by itself, in every mode: - <battle trigger: N> in the map's Note: when the leader comes within… 23 functions reactor_fight_look.js Reactor_fight_look What a battle unit on the map stands as: one rule for the game and the editor. 14 functions reactor_fight_menu.js The Battle Menu of Battles on the Map What Cancel opens in a battle on the map where there is nothing to step back from, in place of the game's pause menu: o… 29 functions reactor_fight_stage.js Action Sequences on the Live Map A battle on the map plays an action through the same sequence player the battle scene uses (ReactorBattleData.Player: b… 72 functions reactor_fight_tactical.js Tactical Battles on the Map The Tactical mode of battles on the live map (reactor_fight.js): the player picks a unit, sees where it can walk, walks… 327 functions reactor_fight.js Battles on the Live Map The framework for battles on the map: Tactical, Action and First Person. 231 functions
Rideable vehicles from the Prop Builder. Rideable vehicles from the Prop Builder.

4 modules · 147 functions

Vehicles

Boats, ships, airships and custom vehicle types, including rideable 3D models such as motorcycles and trucks. Covers boarding, driving feel, mounting and travel between maps.

Read the driving state with ReactorVehicles.Drive.state().

Players meeting in North Haven, online. Players meeting in North Haven, online.

8 modules · 122 functions

Online

Multiplayer: accounts, chat, avatar voice, shared parties and battles, and a shared world, talking to the small PHP server that deploys with your game.

A single-player project never runs any of this code.

The in-game character creator. The in-game character creator.

2 modules · 238 functions

Gameplay Systems

Self-contained systems games can switch on: quests with objectives and rewards, and the character creator that lets players build their own 3D hero with the Forge.

Generated from the runtime source on 2026-11-23 18:11 UTC. Function descriptions come from comments in the code. Screenshots were captured from the Reactor One demo running on this exact engine.