Push Push Puzzle 2D Kit for Unreal Engine
Main Menu Game Mode
BP_MainMenuGameMode is the game mode and specifies the BP_MainMenuPlayerController as default controller. It is used as the game mode in the Main Menu map.
Game Instance
BP_PushPushPuzzle2DGameInstance is the game instance and handles the initial data (e.g. the levels for the level grid), saving and loading of the save game.
Push Push Puzzle 2D Game Mode
BP_PushPushPuzzle2DGameMode is the game mode and handles the current level, score, and level complete actions. It is used as the game mode in the Game map.
Save Game
BP_PushPushPuzzle2DSaveGame is the save game and acts as a container for the save data (e.g. time and steps per level).
Push Push Puzzle Level
BP_PushPushPuzzleLevel is used by the Push Push Puzzle 2D Game Mode. It builds the playable level using a TileMap object.
The chosen TileMap is analyzed and used to spawn all the actors (e.g. player start position, box, goal and coin locations).
Users can easily add new playable rooms by creating new Tile Map objects using drag-and-drop.
Box
BP_Box is the box object that can be moved by the player.
The box has a color and should be moved to the goal location with the matching color to complete the level.
Goal
BP_Goal is the goal location object that has to be filled with a matching color box.
Coin
BP_Coin is the coin object that can be picked up by the player.
Player
BP_Player is the player of the game. It handles player input for movement in the four directions.
It also handles updating the animations/flipbooks while moving.
BP_MainMenuPlayerController
Is responsible for creating and interacting with the Main Menu.
BP_PushPushPuzzle2DPlayerController
Is responsible for creating and interacting with the HUD (HUD changes, Pause Menu and Level Complete screen).
All user interfaces support mobile input.
Based on the platform the UI is automatically updated.
HUD
The BP_HUD is the in-game user interface and shows the player the current amount of steps, time per level and collected coins amount.
It also defines the level complete screen with the current scores, whether the high score was beat and the option to return to the main menu.
The pause menu user interface is also integrated in the HUD and allows the player to reset the level, continue the game and return to the main menu.
Main Menu
BP_MainMenu is the main menu user interface and allows the player to select a level from the level select, show the controls, select their character, clear the save data and quit the game.
Level Select Button
BP_LevelSelectButton is the button used in the level select grid. It defines the level to be loaded and whether the level is unlocked in the UI.