Fsm Description
GAME OVER
This Fsm only reacts to the "GAME OVER" global event, gets the position sent via this "GAME OVER" global event and sends a GameAnalytics Design event. The Id of this Design event is "GameOver" and we pass the position to it. Also, we force the submition of the event ( as opposed to being buffered for optimization) because we want to make sure it's sent in case the user quit the game. Note that using QueueForceSubmit is generally not necessary, especially during the game play itself.
Learn more about GameAnalytics different categories of Events.
GAME OVER is fired by Lave : Floor when the ball touches the floor.
START
The Start state is unnamed ( it has a spac actually, else PlayMaker will complain if you put an empty string for the name), because nothing should be performed then, only when we receive the "GAME OVER" Global Event.
Fsm Content
Game Analytics Actions used
PlayMaker Actions used