FINISHING YOUR GAME

Testing & debugging

Test your game, a battle or a single command, see collisions and FPS, and find what goes wrong.

The video tutorial for this page is coming later. Subscribe to the RPG Paper Maker YouTube channel to see it as soon as it is out.

Test early, test often. RPG Paper Maker has several ways to try your game without leaving the editor.

Play test#

Click Play in the main toolbar (Test > Play, Ctrl+P). The game starts in its own window from the title screen, with your saved changes.

  • You can keep editing while it runs; restart the test to see the changes.
  • Save files made while testing go to the project's Saves folder. They are not included when you deploy.

Test a battle#

In the Data manager, Troops tab, the Test button starts a battle against the selected troop right away, with the heroes, levels, equipments and battle map you choose. See Battle system.

Test a command#

Right click a command in a reaction and choose Test this command to see it directly over the map editor: a text, a picture, a camera move, a screen tone, a light… Test this command with options… sets the variables, items and currencies used by the test. Commands of common reactions, models and map startup reactions can be tested too.

Turn the live preview on or off in Options > General options > Live preview command.

Debug options#

Options > Debug options:

  • Show collisions bounding boxes: draws the collision boxes in the test game. Perfect to understand why the hero is blocked (see Tilesets & collisions). It can slow down small computers.
  • Show FPS: the frames per second, to check performance.
  • The automatic backups settings (see Saving & backups).

Finding problems#

  • The hero walks through something: it has no collision. Set one in the Collisions manager.
  • The hero can't walk somewhere: show the bounding boxes. A character's collision may be too wide, a floor may have blocking directions, or a slope may be steeper than the Mountain collision angle.
  • A reaction doesn't start: check the object reacts to the right event, that it is in the right state, and that the detection used by Send event reaches it.
  • A command does nothing: check it is not disabled (disabled commands are greyed out).
  • Scripts and plugins: in the test game, open the developer console with Ctrl+Shift+I (or Ctrl+Alt+I) to read errors and console.log messages. It also opens by itself when the game hits an error.
  • Variables: show a variable's value with a Show text command, or use Find usages in the Variables manager to see where it changes.

When the editor itself has a problem#

If the editor shows an error, the error window lets you send a report (with an optional email and description, so we can answer you), copy the details, or open Manage backups. You can also use Help > Report a bug. Reports help fix problems for everyone.

Updates often fix problems: keep RPG Paper Maker up to date (Options > General options > Auto updater).