Note: This PRState documentation is out-dated and is for an older (pre-GMS v2.3) version of PRState. For the most up-to-date docs on the latest version of PRState, please refer to this page as well as the documentation included in the PRState package.

Documentation Topics
Article

Getting Started

To make an object in your project conform to PRState, you must do the following:

  • Put a PRStateInit() in its Create event.
  • Put a PRStateUpdate() in its Step event.
  • Put a PRStateDestroy() in its Destroy event.

You may find it more convenient to create a top level object with these events and commands and then assign it as the parent object to each of the game objects that you want to conform to PRState. Whichever method you decide to use is fine.