Showing results for on docs.flatredball.com
...TileMap in Code
The following code can be used to create a TileNodeNetwork using a loaded TMX file:
// Assuming WorldMap is a valid Tiled...
The following code can be used to create a TileNodeNetwork using a loaded TMX file:
// Assuming WorldMap is a valid Tiled...
...Entities and tile map layers use a combination of Z and Y values to control sorting.
Sorting Entities vs Tiles
Entities are drawn relative...
Sorting Entities vs Tiles
Entities are drawn relative...
...Set the Tile layer format to Base64 (zlib compressed). Compressing the tile map will make the .tmx file smaller. We will need to change...
...Accessing Tiles by Name
Each layer in the the tile map can contain its own list of tiles. For performance reasons each tile is...
Each layer in the the tile map can contain its own list of tiles. For performance reasons each tile is...
TileEntityInstantiator
Introduction
FlatRedBall supports the creation of Entity instances by adding either tiles or objects in a Tiled Map (.tmx). This document shows how...
Introduction
FlatRedBall supports the creation of Entity instances by adding either tiles or objects in a Tiled Map (.tmx). This document shows how...
...The following image shows the indexes of a simple tile map:
Code Example
The following code example shows how to create an Entity for...
Code Example
The following code example shows how to create an Entity for...
...Tiled map, the inheritance in your game, or settings on the entity. Fortunately, the process that FlatRedBall uses to create entities on object layers...
...Typically TileNodeNetworks are filled using tile maps. This section covers common ways to fill a TileNodeNetwork. We recommend using the GameScreen and Level approach...
...This means that the entire tile map inherits the following from the entity that it is a part of:
Position
Rotation
Layer
Visibility
Position
Rotation
Layer
Visibility
...These three sections are drawn just like normal tile maps, but they also contain a layer called CameraBoundsLayer. This layer, which is an Object...