tanoshimi
I had made a FSM plugin/behavior before, and use it to control the game flow.
<img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/fsm_zps33150e5e.png" border="0">
The transitions (enter/exit) are option events. "action:Request" will trigger "condition:On transfer" logic of current state, for setting new state by "action: Set next state".
I had made another fuzzy plugin.
Here is an example to use fuzzy logic to simulate behavior of fish.
- click to put feed
- click gray plan to open ui for creating a new fish. Click ones to close it.
And it is the define of memberships and fuzzy logic in this demo.
<img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/bf177d5b490cd54a2c6c1a3d09d650d0_zpsdb3e24ab.png" border="0">
I had not released these plugins because that I did not know how to explain these concepts for beginner.