Mage Game Engine Documentation
  • Getting Started

    • What You'll Need
    • MGE VM
    • General Process
    • MAGE Folder
  • Tilesets

    • Tilesets
    • Animations
    • Entity Management System
  • Maps

    • Maps
    • Map Loads
    • Map Properties
    • Vector Objects
  • Entities

    • Entities
    • Entity Types
    • Entity Properties
    • Relative References
  • Logic and Structure

    • Variables
    • Enums
    • Dialogs
    • Serial Dialogs
    • Scripts
    • Script Slots
  • Actions

    • Actions
    • Conditional Gotos
    • Game Management

      • BLOCKING_DELAY
      • NON_BLOCKING_DELAY
      • SET_PLAYER_CONTROL
      • LOAD_MAP
      • SLOT_SAVE
      • SLOT_LOAD
      • SLOT_ERASE
      • SHOW_DIALOG
      • CLOSE_DIALOG
      • SET_LIGHTS_CONTROL
      • SET_LIGHTS_STATE
    • Hex Editor

      • SET_HEX_EDITOR_STATE
      • SET_HEX_EDITOR_DIALOG_MODE
      • SET_HEX_EDITOR_CONTROL
      • SET_HEX_EDITOR_CONTROL_CLIPBOARD
    • Serial Console

      • SET_SERIAL_DIALOG_CONTROL
      • SHOW_SERIAL_DIALOG
      • CLOSE_SERIAL_DIALOG
      • SET_CONNECT_SERIAL_DIALOG
      • REGISTER_SERIAL_DIALOG_COMMAND
      • UNREGISTER_SERIAL_DIALOG_COMMAND
      • REGISTER_SERIAL_DIALOG_COMMAND_ARGUMENT
      • UNREGISTER_SERIAL_DIALOG_COMMAND_ARGUMENT
    • Camera Control

      • SET_CAMERA_TO_FOLLOW_ENTITY
      • TELEPORT_CAMERA_TO_GEOMETRY
      • PAN_CAMERA_TO_ENTITY
      • PAN_CAMERA_TO_GEOMETRY
      • PAN_CAMERA_ALONG_GEOMETRY
      • LOOP_CAMERA_ALONG_GEOMETRY
      • SET_SCREEN_SHAKE
      • SCREEN_FADE_OUT
      • SCREEN_FADE_IN
    • Script Control

      • RUN_SCRIPT
      • GOTO_ACTION_INDEX
      • COPY_SCRIPT
      • SET_MAP_TICK_SCRIPT
      • SET_ENTITY_INTERACT_SCRIPT
      • SET_ENTITY_TICK_SCRIPT
      • SET_ENTITY_LOOK_SCRIPT
      • SET_SCRIPT_PAUSE
    • Entity Choreography

      • SET_ENTITY_PATH
      • TELEPORT_ENTITY_TO_GEOMETRY
      • WALK_ENTITY_TO_GEOMETRY
      • WALK_ENTITY_ALONG_GEOMETRY
      • LOOP_ENTITY_ALONG_GEOMETRY
    • Entity Appearance

      • PLAY_ENTITY_ANIMATION
      • SET_ENTITY_CURRENT_ANIMATION
      • SET_ENTITY_CURRENT_FRAME
      • SET_ENTITY_DIRECTION
      • SET_ENTITY_DIRECTION_RELATIVE
      • SET_ENTITY_DIRECTION_TARGET_ENTITY
      • SET_ENTITY_DIRECTION_TARGET_GEOMETRY
      • SET_ENTITY_MOVEMENT_RELATIVE
      • SET_ENTITY_GLITCHED
    • Set Entity Properties

      • SET_ENTITY_NAME
      • SET_ENTITY_X
      • SET_ENTITY_Y
      • SET_ENTITY_TYPE
      • SET_ENTITY_PRIMARY_ID
      • SET_ENTITY_SECONDARY_ID
      • SET_ENTITY_PRIMARY_ID_TYPE
    • Set Variables

      • SET_SAVE_FLAG
      • SET_WARP_STATE
      • MUTATE_VARIABLE
      • MUTATE_VARIABLES
      • COPY_VARIABLE
    • Check Entity Properties

      • CHECK_ENTITY_NAME
      • CHECK_ENTITY_X
      • CHECK_ENTITY_Y
      • CHECK_ENTITY_INTERACT_SCRIPT
      • CHECK_ENTITY_TICK_SCRIPT
      • CHECK_ENTITY_LOOK_SCRIPT
      • CHECK_ENTITY_TYPE
      • CHECK_ENTITY_PRIMARY_ID
      • CHECK_ENTITY_SECONDARY_ID
      • CHECK_ENTITY_PRIMARY_ID_TYPE
      • CHECK_ENTITY_CURRENT_ANIMATION
      • CHECK_ENTITY_CURRENT_FRAME
      • CHECK_ENTITY_DIRECTION
      • CHECK_ENTITY_GLITCHED
      • CHECK_ENTITY_PATH
      • CHECK_IF_ENTITY_IS_IN_GEOMETRY
    • Check Variables

      • CHECK_VARIABLE
      • CHECK_VARIABLES
      • CHECK_SAVE_FLAG
      • CHECK_FOR_BUTTON_PRESS
      • CHECK_FOR_BUTTON_STATE
      • CHECK_WARP_STATE
      • CHECK_DIALOG_OPEN
      • CHECK_SERIAL_DIALOG_OPEN
      • CHECK_DEBUG_MODE
  • Scripting Techniques

    • Scripting Techniques
    • Actors
    • Coordinate Considerations
    • COPY_SCRIPT Uses
    • Cutscenes
    • Doors
    • Handlers
    • Hiding an Entity
    • Hint Systems
    • Map Initialization Scripts
    • One Script, Multiple Behaviors
    • Spawn Points
    • Beginnings, Middles and Ends
    • Chains of Small Checks
    • Grand Finale (Beatrice)
  • MGS Natlang

    • MGS Natlang
    • MGS Natlang Structure
    • Blocks

      • Blocks
      • Script Block
      • Dialog Settings Block
      • Dialog Settings Target Block
      • Serial Dialog Settings Block
      • Dialog Block
      • Serial Dialog Block
    • Variables (MGS)
    • Dialogs (MGS)
    • Serial Dialogs (MGS)
    • Advanced Syntax
  • Technical

    • Debug Tools
    • Encoder
    • Hardware

      • Hex Editor
      • Terminal
      • Commands
      • Web Build
      • Desktop Build
      • Updating the Hardware

# Mage Game Engine (MGE) Documentation and Content Creation Guide

Content creation guide for the "Mage Game Engine" (MGE), and other information for working with the "Black Mage Game" for DC801's party badge.

# Table of Contents

  • What You'll Need
  • General Process
  • MAGE Folder

# Assets

  • Tilesets
    • Animations
    • Entity Management System
  • Maps
    • Map Loads
    • Map Properties
    • Vector Objects
  • Entities
    • Entity Properties
    • Entity Types
    • Relative References

# Structure

  • Comments
  • Variables
    • Printing Current Values
    • Enums
  • Dialogs
  • Serial Dialogs
  • Scripts
    • Script Slots
    • null_script
    • Scripting Techniques
      • Actors
      • Coordinate Considerations
      • COPY_SCRIPT Uses
      • Cutscenes
      • Doors
      • Handlers
      • Hiding an Entity
      • Map Initialization Scripts
      • One Script, Multiple Behaviors
      • Spawn Points
  • Action Dictionary

# MGS Natlang

  • MGS Natlang
    • MGS Natlang Structure
      • Blocks
      • Variables (MGS)
    • Advanced Syntax

# Technical

  • Encoder
  • Debug Tools
  • Updating the Hardware