Wednesday, August 25, 2004

Wednesday 25th

No update yesterday, partly because - well, mostly because - I never did anything on the Editor (some days I'm itching to get at the keyboard, others I'm not. Ho-hum). I did take the time to do a little research on Pathfinding algorithms and Line of Sight calculations, both of which will play an important part in the actual game. It seems that the AI community really know how to research, and after visiting just a couple of sites I found I had all the links and articles I need.

Today was marginally more productive; I did a little tinkering around other people's code to find out the best way to flip or rotate arrays (presently I'm still trying to refine and polish my coding techniques). Not only did I find what I was after, I was also inspired to include a Mini-Map, which shows a teeny representation of the finished map. This allowed a few things to "click" in my head, least of all how I'm going to organise the information that appears at the bottom-right of the Editor (see the screenshot from last Saturday).

So inspired was I, the rest of my pre-work time was spent creating a new Tabber for this area, plus setting up the canvases and panels to display the information. After 30 minutes coding I had all the Tabs working - the user can now select Info (which will display co-ordinates and other relevant blurb), Mini-Map (which still needs some work but will operate like the Navigator panel in PhotoShop), and a Tools section (which will display information relevant to the current tool).