Developer Mode

Developer Mode is an admin-only feature that provides in-game visual editing tools for rapid iteration and precise object positioning.

Table of Contents

Overview

Developer Mode activates when an administrator user plays the game, adding powerful visual editing capabilities directly within the game interface.

Key Features

Access Requirements

Enabling Developer Mode

Developer Mode is automatically available to administrators. To access it:

  1. Log in as an administrator
  2. Navigate to your game page (configured in Global Options)
  3. Item/Character/Trigger click and drag works automatically
  4. Additional Developer tools appear when "DEVMODE" link in bottom right corner of the interface is clicked

Note: Regular players and non-admin users never see Developer Mode tools.

Developer Mode Interface

When active, you'll see additional UI elements:

DEVMODE Toggle

A "DEVMODE" button appears in the bottom-right corner:

Visual Indicators

Visual Object Positioning

Dragging Objects

  1. Enable Developer Mode (if object/trigger is transparent)
  2. Click and hold any game object (character, enemy, item, weapon)
  3. Drag to new position
  4. Release to save new coordinates

Behind the Scenes:

Trigger Positioning

Triggers (cutscene triggers, mission triggers, etc.) can be positioned visually:

  1. Triggers appear as colored overlay boxes
  2. Click and drag to reposition

Trigger Visualization

Developer Mode shows all trigger zones as colored overlays:

Trigger Types

Cutscene Triggers:

Mission Triggers:

Item Triggers:

Using Trigger Overlays

  1. Open Developer Mode menu
  2. Enable trigger visualization
  3. All triggers appear as colored boxes
  4. Drag as needed

Wall Builder

The wall builder creates invisible collision boundaries directly in-game.

Accessing Wall Builder

  1. Open Developer Mode menu
  2. Select "Wall Builder" Icon
  3. Wall creation is now enabled as icon glows

Creating Walls

  1. Click starting position on map
  2. Drag to define wall dimensions
  3. Release to create wall
  4. Wall automatically saves as explore-wall post

Wall Configuration

Editing Walls

  1. Existing walls appear as blue overlay boxes in Developer Mode
  2. Click to select
  3. Drag to reposition

Best Practices

Creating Objects In-Game (Pro feature)

Developer Mode allows creating new game objects without leaving the game.

New Addition Menu

  1. Open Developer Mode menu
  2. Select "New Addition"
  3. Choose object type from dropdown
  4. Fill in configuration fields
  5. Submit and page will refresh
  6. Continue game to see your new object

Supported Object Types

Workflow

graph LR
    Menu[Open Dev Menu] --> Select[Select Object Type]
    Select --> Fields[Get Configuration Fields]
    Fields --> Fill[Fill in Details]
    Fill --> Place[Click Map to Place]
    Place --> Save[Object Created]

Creating the Object

  1. Fill in required fields (title, images, etc.)
  2. Use pin-point tool to get top/left coordinates
  3. REST endpoint: /add-new/
  4. Object appears immediately in-game upon refresh

Best Practices

Positioning Workflow

Rough Placement First:

  1. Create objects in WordPress admin with approximate coordinates
  2. Use Developer Mode for fine-tuning
  3. Test gameplay flow
  4. Adjust as needed

Precision Positioning:

Trigger Configuration

Sizing:

Placement:

Testing

Disable Dev Mode for Testing:

Iterate Quickly:

Performance

Use Sparingly During Active Play:

Developer Mode API Endpoints

Developer Mode uses dedicated REST endpoints:

Set Item Position

Endpoint: POST /wp-json/orbemorder/v1/set-item-position/

Updates object coordinates.

Parameters:

Set Item Size (Pro feature)

Endpoint: POST /wp-json/orbemorder/v1/set-item-size/

Updates object dimensions.

Parameters:

Get New Fields (Pro feature)

Endpoint: POST /wp-json/orbemorder/v1/get-new-fields/

Retrieves configuration fields for object type.

Parameters:

Returns: HTML form fields for that object type

Add New (Pro feature)

Endpoint: POST /wp-json/orbemorder/v1/add-new/

Creates a new game object.

Parameters:

Returns: New post ID

See Developer Mode Endpoints for complete API documentation.

Troubleshooting

Developer Mode Not Appearing:

Objects Not Draggable:

Position Updates Not Saving:

Trigger Overlays Not Showing: