State Model |
|
A library for creating finite state machines. [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Stephen001.StateModel##version=1 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Stephen001.StateModel##version=1 |
A finite state machine is a graph-like model of some interaction or behaviour, with "states" being nodes on a graph, and "transitions" being edges between nodes.
By constructing a finite state machine of allowed interactions or behaviour, you can apply all kinds of data input to the model, and states change only when their respective criteria is met. Provided the model is correct, it is then impossible to end up in a programmatically wrong state, that could cause runtime errors. |
Yusuke13: (Jul 16 2011, 2:55 pm)
Take all of your libs and turn them into the most awesomest game on BYOND. k?k
Stephen001: (Jul 15 2011, 3:37 am)
This would be good for all sorts. AI, conversation routines for Mass Affect etc. style dialogue and so on.
I'm personally incorporating it into a parsing engine. OrangeWeapons: (Jul 11 2011, 9:15 am)
So, this would be good for people who want to create their own "things" during runtime?
|
Copyright © 2024 BYOND Software.
All rights reserved.