1. Hey! Guest! The 32nd GMC Jam will take place between Feb 22nd, 12:00 UTC (Friday noon) and Feb 25th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

Asset - Scripts TrueState - Finite State Machine for GMS2

Discussion in 'Marketplace' started by Pixelated_Pope, Oct 31, 2018.

  1. Pixelated_Pope

    Pixelated_Pope Member

    Jun 20, 2016
    Hey Gamemakers! Welcome to TrueState!

    (Also available at Itch.io)

    GMS1.4 Script Pack now available on Itch!

    TrueState is a robust finite state machine to help you organize and control even the most complex of objects. From something as simple as a door that can be open and closed, to the most complex action platforming hero, anything is possible with TrueState!

    • 16 Scripts for creating, switching, and queuing states
    • Single script to control both step and draw events
    • Run specific code on the first frame of a new state
    • Know how long you've been in a state
    • Easily switch to the previous state
    • State History (useful for debugging)
    • Setup attack combos and special abilities easier than ever
    • Pure GML implementation ensures compatibility on all platforms!
    • Comprehensive manual with 1 page quickstart guide in the included files!
    • Plus all the benefits of using a Finite State Machine in the first place, like more organized code and easier debugging

    Demo Project Features
    The demo includes two small projects: a simple top down action RPG and a complex action platformer. A comprehensive manual, including a quickstart guide is also available to get you up and running as fast as possible.

    Top Down Example:
    - 2 Characters, 1 gate, 1 chest.
    - 11 different states
    - Art created by @GrogDev you are free to use in your own game!

    Action Platformer Example:
    - 1 Character, 15 states
    - States include: running, jumping, 3 hit ground combo, 3 hit air combo, wall slide and kick
    - Character art created by Rvos - https://rvros.itch.io/

    As always, if you'd like a free copy of the asset, feel free to send me a private message here, on Discord, or on Twitter. If you have any questions, you can post them here, or ask on Discord.
    Last edited: Nov 5, 2018
  2. cgPixel

    cgPixel Member

    Jun 30, 2016
    A finite state machine system from Pixelated_Pope himself? Would love to get my hands on this.
    Any chance for a 1.4 version?

    Kind Regards
  3. Amon

    Amon Member

    Sep 13, 2016
    Just bought this. :)
    Pixelated_Pope likes this.
  4. Pixelated_Pope

    Pixelated_Pope Member

    Jun 20, 2016
    @cgPixel You aren't the first to request it. I'm pretty sure the system can be made compatible with GMS1.4, just would take a little bit of tweaking. It's on my to do list, and I'll make sure to tweet and update the thread when it becomes available.

    @Amon Thank You! If you have any questions, issues, or feature requests, let me know.
    cgPixel likes this.
  5. Pixelated_Pope

    Pixelated_Pope Member

    Jun 20, 2016
  6. ApselTheBlue

    ApselTheBlue Member

    Jul 6, 2016
    I like to think I code state machines well enough. Buuut if the Pope made it....might as well give it a shot.
  7. NeZvers

    NeZvers Member

    Mar 24, 2018
    Exact reason why I bought it.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice