Description
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: None
Version
GMS2 - Version 1.0.2. Published December 14, 2018
-Added PRStateSetPrev function.