PRState is a small but very handy extension that enables you to easily implement a finite state machine. What that means is that it will help you keep your object's states (character is idle, character is walking, character is running, etc.) neat and organized, rather than having all that code lumped together into your Step event(s).

Why execute a bunch of IF statements or a huge SWITCH statement to determine what code you need to run depending on what your character or other object is currently doing? Even if you split out your code into separate scripts, it may make your Step event cleaner looking, but it still won't be as logically organized and easy to view as using a state machine to do the job.

Let PRState do that work for you! Please see the screenshots above for a primer on its use.

Friendly support is just an email away and you can expect a quick turn-around to answer your questions and resolve issues. As always, comments and suggestions are welcome!

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2 - Version 1.1.0. Published February 28, 2020


IMPROVEMENTS * Verbose output log messaging improved. Now includes contents of Data1, Data2 and Data3 when changing states. * Added groups to segregate all assets in this extension from the rest of your GMS project. All future Prismatic Realms extensions and packages will use the same group naming conventions so that any assets imported from them will all be placed neatly and out of the way into these groups. * Added notes containing release notes history and documentation. * Renamed extension resource file to PRState.gml to keep inline with PR naming conventions. * Replaced the previous example assets demonstrating how to use this extension with much better ones. All code is now commented with useful information and directions.


Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top