TMC Terrain Tile

The Mojo Collective

You must be logged in to obtain assets



Terrain Tile is a shader based system that allows you to merge different tile layers seamlessly by using an alpha mask system similar in concept to a height map image texture.

The alpha mask defines your terrain and the shader selects tiles to place on the different alpha "layers". Each tiles are blended with the tile that neighbors its alpha range.

At run time, An alpha gradient image "brush" can be used to draw and "dig" on the terrain to allow live terrain deformation

You can define your terrain in any paint program or use the included terrain editing example.

Tiles reside on a single texture and can be a various sizes

Each tile can have a repeat factor to define the density of the tile on the map. As such you can have a small image to define a huge room or tiny tiles to cover a large area


  1. Up to 32 tiles on one texture
  2. Tile Definitions to set up each tile individually
  3. Up to 32 tile definitions slots
  4. Multiple tile definitions may refer to the same physical tile on the one texture page
  5. Define the repeat for each tile
  6. Allows for small terrain image to cover a large room
  7. Draws a lot in one swoop
  8. Supports sprite, background or surface images for tiles and the alpha mask (terrain)
  9. Supports drawing your terrain using draw_self(), draw_sprite, draw_surface, ext
  10. Supports drawing your terrain using textured primitive or models or vertex buffers
  11. The terrain can be grayscale or have color in it. the tiles will blend with the colors of your terrain...
  12. ...Which allows you to draw on the ground permanent effects such as explosion damage, permanent track trails and other decals
  13. Use is not limited to flat terrain... 3d models can be used

Simple examples given for ease of understanding

Visit the support forum for help.

More info

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.0. Published July 7, 2015

Privacy Policy
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait