TrueState 3.1
Okay. I think I've solved the issue I described in my previous post. Good news is, I was able to fix it in a way that it shouldn't affect existing projects. If you've been using TrueState 3.0 and it works well for you, then keep on keepin' on. But as soon as you run into the issue described in the previous post, there is now a new option for you.
In the updated documentation I call the two methods BASIC and FLEXIBLE. If you've been using TrueState 3.0, you've been using the BASIC pattern. If you've used previous versions of TrueState, then the FLEXIBLE pattern should already look familiar.
Check out the new example project shows both methods. The AI layer uses BASIC while the behavior layer uses FLEXIBLE. Between the example and the documentation, hopefully you can get up and running without too much issue.
One final change I made was the removal of the layer "vars" property. Turns out it really wasn't necessary. The layer itself is already a struct, so you can add any properties you want to it! If you were using _layer.vars.whatever in your project, you should be able to do a quick find and replace to remove the vars name and just stick those vars right on your _layer struct.
If you have any further questions, let me know!
Files
Get TrueState - Finite State Machine for GMS2
TrueState - Finite State Machine for GMS2
Complex characters: SIMPLIFIED
Status | Released |
Category | Assets |
Author | Pixelated Pope |
Tags | finite-state-machine, GameMaker, scripts |
More posts
- Temporarily Removing TrueState 3.0Aug 24, 2022
- TrueState v3.0Jul 19, 2022
- TrueState v2.3.1Mar 06, 2022
- True State Plus Official Release + minor bug fixesJan 29, 2022
- How I Build Complex AI Characters (with or without TrueState)Jun 02, 2021
- New Release: TrueState 2.3 and TrueState Plus BetaSep 21, 2020
- Upcoming 2.3 ChangesSep 01, 2020
- TrueState 2.0 ReleasedFeb 12, 2020
- New Playable Demo In BrowserNov 29, 2018
Comments
Log in with itch.io to leave a comment.
Nice! I cannot wait to dig into this and give the 3x version a try! Thank you so much for your continued efforts in development and maintaining this project. You rock!!