Inspired by Interplay's M.A.X (1997), I'm going to try creating a TBS (turn-based strategy) game in DB Pro.
The first thing I've got working is the pathfinding system, which uses a variation of the A* algorithm (yes, another one
).
No proper graphics yet, so all you need to do is run the source code to see it in action.
There is one other file you need, which is a text file describing the map to be used. A sample one is available here:
http://darksun.united.net.kg/map.txt
Just bung it in the same dir as the exe.
How to use it:
The red squares are units. Click to select one, and click somewhere to send it off on a little expedition, avoiding all walls (white squares) in the way.
Controls:
Arrows: scroll screen
Ctrl/Shift: zoom (don't zoom out too far...)
Right click: add/delete wall
If you've got any comments/suggestions, please post them here.
This is only my 2nd DB project, so don't be too critical