Project Structure

The folders inside an RPG Reactor game project and the repository layout.

A Game Project

An RPG Reactor project keeps RPG Maker's familiar layout and adds a few folders of its own:

PathContents
index.html, package.jsonThe game's entry page and NW.js manifest
project.rpgreactorThe project file the editor opens
js/The runtime (reactor_*.js) and libraries in js/libs/
js/plugins/Game plugins: RPG Maker MV/MZ plugins and ones written for RPG Reactor (@target Reactor)
js/reactor_plugins.jsThe game plugin list, written by Plugin Manager › Game Plugins
js/editor-plugins/Editor plugins (@target ReactorEditor), one script each, with their own files in js/editor-plugins/Name/. Never included in a game build.
js/reactor_editor_plugins.jsThe editor plugin list, written by Plugin Manager › Editor Plugins
data/Database and maps as RPG Maker-compatible JSON (Actors.json, Map001.json, …)
data/Map###.r3d.json3D sidecar for a map. The map file itself is never rewritten, so a 3D map stays valid RPG Maker data.
img/, audio/Graphics and sound, as in RPG Maker
data/*.r3d.jsonReactor's own data beside the RPG Maker files (Database.r3d.json, Tilesets.r3d.json), plus files such as ReactorCharacters.json, ReactorVehicles.json, UserInterfaces.json and BattlePresentation.json
3d/Models, structures (3d/Structures/*.json) and other 3D assets

The Runtime Files

The runtime loads from js/reactor_main.js, which lists every script in load order. js/reactor_core.js loads before any plugin, so globals like ReactorEvents are ready when your plugin runs. Three.js (about 2 MB) loads only when a 3D map needs it, so 2D-only games never download it.

Every runtime file and function is listed in the Engine API Reference. The functions and plugin commands meant for plugins are in the Plugin API Reference.

The Repository

RPGReactor/
├── editor/         # Editor app source (NW.js)
├── runtime/        # Game runtime copied into new projects
├── template/Demo/  # Bundled Reactor One starter project
├── docs/           # Guides and design notes
├── RPGReactor.sh / .bat / .command   # Development launchers
├── CHANGELOG.md
└── LICENSE         # MIT