๐๏ธ Installation
To create a simple game in Messenger, the first step is to install the Messenger CLI tool.
๐๏ธ Scenes and Layers
Scenes
๐๏ธ Project Structure
You should be expected to see the following structure:
๐๏ธ Getting Started
First, determine the UserData and SceneMsg, which respectively represent the data that can be accessed or modified at any time and the message to be sent to the scene when switching scenes.
๐๏ธ Order of Rendering
To understand layers and scenes better, letโs create another scene called "Game" and add two layers called "A" and "B" in that scene.
๐๏ธ Message Passing
Recall the update function in ConcreteGeneralModel.
๐๏ธ Initialization
Users may want to initialize the layer or the scene with special data and may even with some environment information.