Game marble contains only a few interactive features, which makes it a very good sample to study as you begin developing with playmaker.
Download
You will need to download first the c# game examples
You can download the package here
Basically, it took me 49 minutes in total to port the scripted scene to Playmaker. The scene has no script and works with the standard set of actions shipped with playmaker, no custom actions created :)
While I create the explanations on each Fsm, please post on the playmaker forum if you have questions about this scene.
Explanations
Features:
- simple Ball physics control
- simple trigger management between gems and marble.
- simple game logic management
- simple gui interface
Scene Set up:
The scene set up it very simple.
Fsm descriptions:
We only have 6 Fsm in there. Each one is explained and detailed below ( listed by GameObjects followed by the fsm name):
- Main Camera : Marble Camera
- Marble : Marble control
- Marble : Marble trigger with Gems
- GameManager : Menu GUI
- Gems: Gems Manager
- GameOver Trigger : Game Over Trigger
Credits:
Thanks to Mike Hergaarden (M2H), the one behind these great game samples.