Finite State Machine System
Finite State Machine System : This Finite State Machine System is much more professional, and is developed for the programmer who has previous knowledge about the finite state machine concept.
- You can create your own state classes derived from the FSMState class in the framework and override its OnEnter(),OnUpdate() and OnExit() functions if necessary.No more silly enums and switch cases!
- One state linked to another,is created by the transition class,in other words,the transition class link one state to another state called the next state,besides, it hold the next state reference and a list of condition which determine whether to change to next state or not.
- In this framework,each condition class is separated,and you should create your own condition by Implement the condition interface : IFSMTransitionCondition.
- When you want to link one state to another, you don’t need to create the transition by yourself,just to use the CreateFSMStateToAnotherFSMStateTransition API in this framework,all you need to do is to input two state names and some conditions,the framework will create a transition between two states automatically.
- There is a simple tank battle demo in this package,the AI tank is implemented by this finite state machine framework.so you can easy to learn how to use this framework by studying the code in the demo.
- In this package,the readme file described about how to use this framework and how the AI tank in demo be coded in detail.
Watch the Introduction Video :
Direct download links 43 MB :
CGArchives Is The Best