The concept of the Editor is simple in that it needs to give you access to entities and logic to create compelling gameplay. Within this section we will be looking at how we can use data to execute logic and be able to store variables that track the changes and state of your game. Deep down this is a core requirement to actually create any gameplay if you want to enter the mass market.
To begin, one of the main ways that we store variables on the designer end of the Editor is through a system called Game Tokens and these will be the basis of this exercise. The writing will be housed inside of Flow Graph as well as we will be saving to disk through an .xml file to show the flexibility of the system.
These types of elements will be covered in this tutorial which allows for you to start piecing Entities together to create compelling gameplay mechanics.
You need to follow these below mentioned steps to begin printing information to the viewport and input to control an entity: