Hello Mark.
Just had a play with your program.
Few things.
1) 1280x768 monitor, rightmost buttons got cut in half. (click on the picture - somehow thumbnail is smaller width-wise)
It still works, though
2) somehow some statictext got cut. Like, for "Floor" titles, I see
Gray stone
Gary stone
Gary stone
- though in code there is
"Gray Stone"
"Gary Stone Grass"
"Gary Stone Lava"
(should be Gray?)
Probably text just too big for statictext width.
I use Win XP, default font settings (no scaling)
3) is there a hotkey for delete (undo) tile?
(looking through code I found "b" hotkey. Is were any others?
btw, may it be have sense to make program be in "previous tile mode" by default - that is, if you select a tile, you will continue to add it until tile change?
)
4) is there a way to move tile to new place if I didn't put it right?
5) if I put tile over tile - both tiles are saved? (it looks like it in data file.) Is it by design?
Finally, I saved data and looked into results.
It looks like ?number of tiles? on top,
followed by pairs like
RedPipeH3
9, 5
Here we have ?internal sprite name? with "through" sprite number (yes it goes from 1 to 85 in my case!)
and on next line is (x,y) of a tile.
That looks like all, is it?
Looking though code I got that "RedPipeH" is really this
loadbmp "RedPipeH", "Sprites\Pipes\RedPipe_H_Mid.bmp"
- dat file could not be used separately, without this mapping (bitmap name to bitmap pathAndFilename)
Last thing.
And it loads back OK. (that is really GOOD thing
)
Now, could it be used by someone else / for making some game?
(First, do you give permission?)
My guess is that if some one takes "load" part of your program - it has all mappings needed - and runs it in the folder with your Sprites folder, he will get drawn level map.
May be you have small demo (game?) for that?