Orbem Studio Documentation
Welcome to the Orbem Studio documentation. This guide will help you build fully interactive, story-driven RPG games directly inside WordPress.
What is Orbem Studio?
Orbem Studio is a WordPress plugin that transforms WordPress into a complete, browser-based game engine. It provides structured systems for creating narrative RPGs, educational experiences, and interactive storytelling without requiring external game engines or complicated integrations.
The plugin manages all game content as WordPress custom post types with powerful metadata systems, delivering gameplay through a REST API-driven frontend architecture with optional Developer Mode for rapid iteration.
Architecture Overview
graph TB
subgraph wp [WordPress Admin]
GameOptions[Game Options]
CPT[Custom Post Types]
MetaBox[Meta Box Fields]
end
subgraph engine [Game Engine]
Explore[Explore Class]
DevMode[Developer Mode]
REST[REST API]
end
subgraph frontend [Frontend]
GamePage[Game Page]
Player[Player Controls]
HUD[HUD Interface]
end
CPT --> MetaBox
GameOptions --> engine
MetaBox --> Explore
Explore --> REST
REST --> frontend
DevMode --> RESTRequirements
- WordPress: 6.1 or higher
- PHP: 8.1 or higher
- Node.js: 22.4.0 or higher (for development)
- npm: 10.5.0 or higher (for development)
Quick Start
- Install and configure Orbem Studio
- Set up your first game area
- Create your main character
- Configure global game options
- Enable Developer Mode for visual editing
Documentation Structure
Getting Started
- Getting Started Guide - Installation, setup wizard, and building your first game
Game Objects Reference
Complete reference documentation for all game object types:
- Game Objects Overview - Understanding the game object system
- Areas - Levels, maps, and navigation
- Characters - Playable characters, NPCs, and crew mates
- Enemies - Enemy types, AI behaviors, and boss fights
- Weapons - Combat system and weapon configuration
- Missions - Quest system, triggers, and rewards
- Cutscenes - Storytelling and cinematics
- Items and Triggers - Collectibles, signs, explainers, walls, and minigames
Configuration and Tools
- Global Options - Configure HUD, styling, integrations, and game settings
- Developer Mode - In-game visual editing and rapid iteration tools
API Reference
Complete REST API documentation for custom integrations:
- API Overview - Understanding the REST API architecture
- Gameplay Endpoints - Player-facing endpoints for game state
- Developer Mode Endpoints - Admin-only endpoints for in-game editing
Extending Orbem Studio
Documentation for developers who want to customize or extend the plugin:
- Extensibility Overview - How to extend Orbem Studio
- Hooks and Filters - Complete WordPress hooks reference
- Custom Integrations - Building custom frontends and integrations
Core Concepts
Custom Post Types
Orbem Studio registers 13 custom post types to manage game content:
explore-area- Game levels and mapsexplore-character- Playable characters and NPCsexplore-enemy- Enemies and boss fightsexplore-weapon- Weapons and combat itemsexplore-mission- Quests and objectivesexplore-cutscene- Story sequencesexplore-point- Collectible itemsexplore-sign- Focus view itemsexplore-explainer- Popup explanationsexplore-wall- Collision boundariesexplore-minigame- Interactive minigamesexplore-magic- Abilities and powersexplore-communicate- Communication devices
Metadata-Driven Design
All game objects use WordPress post meta for configuration. This provides flexibility, extensibility, and familiar WordPress editing interfaces for content creators.
REST API Architecture
The game engine communicates with WordPress through a secure REST API at /wp-json/orbemorder/v1/. This architecture provides:
- Clean separation between content and presentation
- Permission-aware endpoints for secure gameplay
- Easy integration with custom frontends
- Performance optimization through targeted data fetching
Developer Mode
Administrator users can enable Developer Mode to access in-game editing tools:
- Visual object positioning with drag-and-drop
- Trigger overlay visualization
- Wall builder for collision boundaries
- In-game object creation
- Real-time updates without page reloads
Support and Community
- Plugin Homepage: https://orbem.studio/
- Author: Orbem Order
- Support: Patreon
- Version: 1.0.2
License
Orbem Studio is licensed under GPL v2 or later. You are free to use, modify, and distribute this plugin according to the terms of the GNU General Public License.
Ready to start building? Head over to the Getting Started Guide to begin creating your game.