Well here’s a new update. Now I’ve got the ability to manipulate the map size, the cell size, and to turn the grid and info on and off. I had a bear of a time attempting to get the keyboard input stuff working exactly how I wanted and now it works great! The other issue is once I worked the resize issues out, there was a graphical glitch that caused the selector square to remain where it was even though it was off the map. Since I’m not really planning on using the keyboard to select actual tiles (at least at the moment) I decided (on advice of others, thanks #xna!) to just simply hide the selector (dark red box on the grid) when it was off the grid. You can see what I mean here:
That’s sort of unwanted. However you can see I fixed it here:
Okay now for the main event, a video of the map editor in action. Notice it still doesn’t do anything yet because the next thing I will work on is a tile selector panel and then the ability to place tiles on the map. Note a tile is just an abstract concept for still image or animation that is placed on a map. A tile can be any size and shape and be put anywhere on the board, just as long as you got the grid off. With the grid on it will line up with the upper right corner.
Please forgive the quality of the video. I captured with CamStudio, and then converted it from 1280×720 down to 640×480 (with black bars to keep the aspect ratio at 640×360 ie 16:9) Anyways it should give you an idea of where I’m going.
Keith