Map Editor
Posted: Sat Sep 13, 2003 4:29 am
Hello,
I am attempting to code a map editor in PureBasic. Since this is the first time I am doing anything proper using the Windows GUI, I have run into some problems. Any help will be appreciated.
First of all, this is what I've managed so far:
http://web.sfc.keio.ac.jp/~t03341kg/temp/editor.pb
In this editor, the map tiles are to be selected in the Scroll Area Gadget on the right, and then plotted onto the area on the left. Since the image gadget doesn't have any input function, would using "WindowMouseX()" and "WindowMouseX()" be the only way I could do this? Since the point (0, 0) in my map area is something like (60, 4) of the window, it seems too messy to be the proper way.
Any advice on how I could handle this type of program more efficiently is greatly appreciated.
By the way, this is a screenshot of the map editor I aim to imitate. It's a RPG creating tool famous in Japan.
Thank you for you time.
-Shopro
I am attempting to code a map editor in PureBasic. Since this is the first time I am doing anything proper using the Windows GUI, I have run into some problems. Any help will be appreciated.
First of all, this is what I've managed so far:
http://web.sfc.keio.ac.jp/~t03341kg/temp/editor.pb
In this editor, the map tiles are to be selected in the Scroll Area Gadget on the right, and then plotted onto the area on the left. Since the image gadget doesn't have any input function, would using "WindowMouseX()" and "WindowMouseX()" be the only way I could do this? Since the point (0, 0) in my map area is something like (60, 4) of the window, it seems too messy to be the proper way.
Any advice on how I could handle this type of program more efficiently is greatly appreciated.
By the way, this is a screenshot of the map editor I aim to imitate. It's a RPG creating tool famous in Japan.
Thank you for you time.
-Shopro