Showing results for

tilemap

layers

on manual.gamemaker.io
manual.gamemaker.io › monthly › en › GameMaker Language
Collisions
...Use layer_tilemap_get_id to get the Tile Map ID for a layer, and then pass that ID into a collision function.
Create Event
tilemap = layer_tilemap_get_id...
manual.gamemaker.io › monthly › en › GameMaker Language
tilemap_set_global_mask
...For the tile map at a layer named "Tiles_sky" a custom mask is set that allows only 4 bits for the tile index. The...
manual.gamemaker.io › monthly › en › GameMaker Language
tilemap_get_at_pixel
...128);
The above code gets the ID for the tile map "Clouds" on the layer "Tiles_Sky" and then uses that to get the data...
manual.gamemaker.io › monthly › en › GameMaker Language
Layers
Any assets that you add to rooms are placed on a layer. These assets can be tile maps (using tile sets), backgrounds, sprites or...
manual.gamemaker.io › monthly › en › GameMaker Language
tilemap_set_mask
...The above code gets the tile map ID from the given layer and then sets the tile map bit mask to 8bits (a value...
manual.gamemaker.io › monthly › en › GameMaker Language
gpu_set_sprite_cull
...layers or as part of sequences.
Tile maps are culled in a different way than sprites: only the tiles in the tile map that...
manual.gamemaker.io › monthly › en › GameMaker Language
place_meeting
...obj_bush) and the Tile Map for a Tile Layer called "Tiles_1".
As you only need to get your tile map ID once, you can...
manual.gamemaker.io › monthly › en › GameMaker Language
move_and_collide
...avoid colliding with tiles in the layer "Tiles_1".
As you only need to get your tile map ID once, you can move the first...
manual.gamemaker.io › monthly › en › GameMaker Language
Tile Sets
...working with tiles or tile maps when they are present in your game (for that see the appropriate layer functions on the section on...
manual.gamemaker.io › monthly › en › Quick Start Guide
Creating Tile Sets
...You can now close the tile set editor, as you can use the tile set "as is" to create tile map layers in the...