Playmaker Forum
PlayMaker Help & Tips => PlayMaker Tutorials => Topic started by: jeanfabre on October 25, 2017, 04:26:30 AM
-
Hi Everyone,
You'll find on the Ecosystem a sample for a typical memory game like Simon.
(https://i.imgur.com/WBXiDPa.gif)
It's using ArrayMaker and uGui.
It features only two fsm:
one dealing with the logic of the game:
(https://i.imgur.com/l7rjPwe.png)
one for the UI management. This is important to separate concerns and responsibility, I think this example is clear enough and highlight one way to achieve this. The UI can change totally, it won't affect the fsm dealing with the logic at all.
(https://i.imgur.com/HFJSbii.png)
let me know if you have questions :)
I'll make in the next few days a version using just FsmArray as opposed to ArrayMaker just to show the differences.
Bye,
Jean