Simple Game

In this simple game, you can learn how to make a boring game more enjoyable by adding animations via Sequentiors.
Here, we'll go through some of the sequentiors runs in this game.
You'll find a GAME MANAGER object in this scene which manages the game logic. There are 2 sequentiors inside this game object: StartingSeq and GameOverSeq.
Starting Sequentior

This is the sequentior that will play when the game manager starts the game.
In this sequentior, we want to show the starting UI elements (CanvasWorld > Starting and CanvasWorld > ScreenDim) we simply enable the elements that are already in the scene.
Starting UI Element Animation Sequentior
When we enable the Starting UI element, the sequentior in the Animation gameobject will be played automatically because we set the Auto Start enabled and set the Auto Start Option to On Enable.

In this Animation sequentior:
- Play Audio: This simply plays a sound clip.
- Move UI: This moves the Starting UI element from the left side of the screen (with an offset of -2000) and moves it to the center of the screen.
- Pause: After showing the Starting UI element we pause the animation for a fixed duration to let the player see it. This sequential holds the next sequentials for its duration.
- Move UI: This moves the Starting UI element from its current (initial) position to the 2000 x pos which moves it off the screen by right side.
- Play Audio: We play a sound clip while it's moving to the right side.

Player and Opponent Sequentiors
Player gameobject has a few sequentiors that plays when a specific event happens in the Simple01PlayerShip component. Same mechanism works for the opponent game object too.
For example when the player ship jumps it will starts the related sequentior:
protected void OnJump()
{
if (Sequentior_Jump != null)
Sequentior_Jump.StartAllSequentials();
}
You can look at the sequentiors of Player and Opponent game objects to see how the animations and effects are designed.
