Introduces fundamental changes to ensure that new maps can be created and height-map data can be interpreted in such a way as to generate the terrain.
At the moment the red channel is dedicated to height and green is for tile index.
Importing a terrain image will require a path to be typed in for the image you want to load.
Textures are now all loaded in by incrementing through 0 to 256 under the <mapname>/tiles/ directory. Being done this way purely for the sake of allowing for editor functionality in the future (e.g. drawing tile textures etc.)
Might need to consider providing a tilePath variable to manifest so maps can share tile sets. Needs more thought...
Introduces fundamental changes to ensure that new maps can be created and height-map data can be interpreted in such a way as to generate the terrain.
At the moment the red channel is dedicated to height and green is for tile index.
Importing a terrain image will require a path to be typed in for the image you want to load.
Textures are now all loaded in by incrementing through 0 to 256 under the
<mapname>/tiles/
directory. Being done this way purely for the sake of allowing for editor functionality in the future (e.g. drawing tile textures etc.)Might need to consider providing a
tilePath
variable to manifest so maps can share tile sets. Needs more thought...Related ticket is #76