What are game objects, and how do I place them?

Knowledgebase / What are game objects, and how do I place them?

Game objects are the building blocks of your game world, and everything inside your game is a game object. Game objects do nothing by themselves, but you can turn them into solid terrain, or into interactive objects. You build your game world by placing game objects in a level. You can place them in a regular layer if you’d like them to be interactive (to control characters, health packs, buttons, switches, check points, story points, teleporters, etc.) or you can place game objects in a terrain layer/tile map layer if you’d like them to become solid terrain.

To place game objects as terrain, first select a terrain layer, then select a game object from the Game Objects sidebar by clicking on it. Click on the level to place the object, or click and drag to draw multiple objects at once.

game-objects-2

All game objects in the terrain layer are resized and arranged in the terrain grid, and those game objects become solid and immovable. Terrain makes up the environment that the player moves around in, for example: ground, trees, rocks, water, spikes, etc. You can also use a terrain brush to draw terrain. If you choose a terrain brush then the tiles will arrange together to make natural looking shapes. Anything inside the terrain layer/tile map layer cannot be programmed with scripts.

Game objects placed on a regular layer (as opposed to a terrain layer/tile map layer) can be made interactive by applying a script to them. To place game objects normally, select a regular layer, then select a game object from the Game Objects sidebar by clicking on it, and then click on the level to place the object.

game-objects-3