All Projects → andrew-gresyk → Hfsm2

andrew-gresyk / Hfsm2

Licence: mit
High-Performance Hierarchical Finite State Machine Framework

Programming Languages

cpp
1120 projects
cpp11
221 projects

Projects that are alternatives of or similar to Hfsm2

Qpn
QP-nano real-time embedded framework/RTOS for embedded systems based on active objects (actors) and hierarchical state machines
Stars: ✭ 107 (-20.15%)
Mutual labels:  state-machine, fsm, embedded-systems
Fluent State Machine
Fluent API for creating state machines in C#
Stars: ✭ 195 (+45.52%)
Mutual labels:  state-machine, fsm, game-development
qm
QM model-based design tool and code generator based on UML state machines
Stars: ✭ 54 (-59.7%)
Mutual labels:  fsm, state-machine, embedded-systems
Qpcpp
QP/C++ real-time embedded framework/RTOS for embedded systems based on active objects (actors) and hierarchical state machines
Stars: ✭ 124 (-7.46%)
Mutual labels:  state-machine, fsm, embedded-systems
esm
Lightweight communicating state machine framework for embedded systems
Stars: ✭ 21 (-84.33%)
Mutual labels:  embedded, state-machine, embedded-systems
Unity Solutions
Use Firebase tools to incorporate common features into your games!
Stars: ✭ 95 (-29.1%)
Mutual labels:  game-development, game-dev
Arcadevehiclephysics
A framework for creating an arcade inspired physics system for vehicles in Unity
Stars: ✭ 103 (-23.13%)
Mutual labels:  game-development, game-dev
Szl
A lightweight, embeddable scripting language
Stars: ✭ 134 (+0%)
Mutual labels:  embedded-systems, embedded
Ws Machine
WS-Machine is a websocket finite state machine for client websocket connections (Go)
Stars: ✭ 110 (-17.91%)
Mutual labels:  state-machine, fsm
Lumberyard
Amazon Lumberyard is a free AAA game engine deeply integrated with AWS and Twitch – with full source.
Stars: ✭ 1,785 (+1232.09%)
Mutual labels:  game-development, game-dev
Squirrel
squirrel-foundation is a State Machine library, which provided a lightweight, easy use, type safe and programmable state machine implementation for Java.
Stars: ✭ 1,789 (+1235.07%)
Mutual labels:  state-machine, fsm
Is Engine
SFML C++ game engine that allows to create games on Web (HTML 5 - CSS 3), Android and PC
Stars: ✭ 94 (-29.85%)
Mutual labels:  game-development, game-dev
Langaw
A sample project for following along a tutorial found on jap.alekhin.io.
Stars: ✭ 90 (-32.84%)
Mutual labels:  game-development, game-dev
List of robot electronics
A curated list of awesome open source electronic resources for robotics
Stars: ✭ 106 (-20.9%)
Mutual labels:  embedded-systems, embedded
Finity
A finite state machine library for Node.js and the browser with a friendly configuration DSL.
Stars: ✭ 88 (-34.33%)
Mutual labels:  state-machine, fsm
Jstate
Advanced state machines in Java.
Stars: ✭ 84 (-37.31%)
Mutual labels:  state-machine, fsm
Gamedev Resources
🎮 🎲 A wonderful list of Game Development resources.
Stars: ✭ 2,054 (+1432.84%)
Mutual labels:  game-development, game-dev
O2
2D Game Engine with visual WYSIWYG editor
Stars: ✭ 121 (-9.7%)
Mutual labels:  game-development, game-dev
Embedded Ide
IDE for C embedded development centered on bare-metal ARM systems
Stars: ✭ 127 (-5.22%)
Mutual labels:  embedded-systems, embedded
Printf
Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing.
Stars: ✭ 1,157 (+763.43%)
Mutual labels:  embedded-systems, embedded

License: MIT Build status Build Status Language grade: C/C++ Gitter


HFSM2

High-Performance Hierarchical Finite State Machine

Header-only heriarchical FSM framework in C++11, with fully statically-defined structure (no dynamic allocations), built with variadic templates.


Compiler Support

  • Visual Studio 14, 15, 16
  • GCC 5, 6, 7, 8, 9
  • Clang 3.7, 3.8, 3.9, 4, 5, 6, 7, 8, 9, 10

Quick Start


See Also

  • FFSM2: High-Performance Flat Finite State Machine

Documentation


Feature Highlights

  • Permissive MIT License
  • Written in widely-supported modern(ish) C++11
  • Header-only
  • Convenient, minimal boilerplate
  • Fully static, no dynamic allocations
  • Uses inline-friendly compile-time polymorphism, no virtual methods are used
  • Type-safe transitions: FSM.changeTo<TargetState>() with optional payloads
  • Scaleable, supports robust state re-use via state injections
  • Hierarchical, with a selection of composite (sub-machine) and orthogonal regions
  • Gamedev-friendly, supports explicit State::update()
  • Also supports traditional event-based workflow with State::react()
  • Inspect anything: previous and current transitions, state activation status, and more!
  • Game AI-friendly with dynamic planning support
  • Utility theory support (max score and ranked weighted random)
  • Serializable, with activity and transition history support
  • Debug-assisted, includes automatic structure and activity visualization API with #define HFSM_ENABLE_STRUCTURE_REPORT
  • Built-in logging support

3rd Party Libraries

  • doctest unit testing framework
  • XoShiRo pseuto-random number generators

Receive Updates


Get In Touch


Special Thanks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].