Sunday, January 13, 2008

New faster map previews

With the recent release of OpenFracas v0.3.0, I thought that it might be a good idea to start a development journal to track our progress, and to document and discuss some of the new things that we're working on for the next few versions.

The first thing that I'll mention is the new open map dialogue. Until now, we've been using the same control that draws the main gameboard to draw the map previews when starting a new game. This is somewhat unnecessary, as we don't need the same level of detail for map previews.

We've now replaced that control with a much leaner one, taken from a version of the programme from way back when - when drawing was being done in a much simpler manner.

Since this new control draws map previews much faster, we can be a little more liberal in displaying them. Now, when in the process of opening an existing map, a preview of the highlighted file will be displayed. Should the file not be readable by our import code (eg. not a map), no preview will be displayed.

The larger, more detailed map control that we use to draw the main gameboard is faster for general redrawing and making small changes to the map like who owns a country, but it incurs a significant time penalty when first starting up. This one-time cost is not an issue with the simpler gameboard now used for small previews; hopefully, this will not only allow us to have previews of maps while opening them, but also also result in quicker responses from the dialogues used to start a new game.

2 comments:

Anonymous said...

Sounds awesome enough!
I just wonder what happened to the old website. After three shifts or whatever it is now, it's getting tiresome to follow.

Nathaniel said...

We did move around a lot, I know. We were on google code at first, but that didn't really give us the kind of control that we wanted. Later we had openfracas.com on a content management system, but we found that it was too forum-driven. There was no easy way we could find to separate the forums from the main site. When we had to switch servers, the old site just didn't come with us.

We're here to stay now, though; openfracas.com/.org is set up the way we want it, and we own the domain names and have our server space set up just right.