2D Terrain Maker

About

This is a tool + engine for making a simple 2D terrain in Dark Basic Pro.

Details

I made this as an example for a forum topic.

Basically, you have a map file with polygon (ie tile) count, tile sizes (width and depth) and then the data follows.

The data is in the form of numbers representing tile type. You provide a tile template that is a 256x256 image with 32x32 tiles. This provides 64 tiles (0-63) numbered consecutively in rows.

After the map is made, the game loads it and displays it and rotates around. Feel free to use this for a game if you like (you will need Dark Basic Pro).

Instructions

Make or edit the map!!

Files

Attachment Size
TexturedMapTerrain.sfx.exe (1.5 MB) 1.5 MB
TexturedMapTerrain Project File.dbpro (1.46 KB) 1.46 KB
Source Code.dba (4.55 KB) 4.55 KB
map format.txt (1.04 KB) 1.04 KB