Our Sokoban clone doesn't have many objects, but we should still go through them one by one. Ladies and gentleman... the following are the objects in our game
In this game, we will use only three layers (groups). In version 1.30 of fantomEngine, the default layer was introduced. We will use this as our background layer, so we need to create only two more. The layers are as follows:
Default layer
Game layer
Title screen layer
The default layer will only hold an info text object that displays the number of crates for a level and how many are on their target position.
The title screen is composed of a colored rectangle and two info text objects that will let the player know how to start and exit the game. There won't be any text buttons, this time, as we will only be reacting to input via the game controller of the Xbox 360. Well, not totally; during testing, we will interface with the keyboard of your development machine.