15 November, 2008

Calibrated Screenshots

The screenshot generation code for FC Resource was based upon measurements prepared from a level made for alignment purposes using the in-game level editor. Given the lack of accurate tools in the editor, this introduced errors into the screenshots. Therefore, using the FCML editor to create precise levels was a little difficult and tedious. Comparing the positions of objects using the screenshots was also an impossibility. However, the good news is that I've re-created this alignment level using FCML, resulting in much more accurate numbers. Although the screenshots are not yet flawless, they have become very accurate.

I discovered that static rectangles and dynamic rectangles are slightly smaller than their actual width and height numbers. The build and goal areas follow their dimensional numbers exactly. This, no doubt, led to some inaccurate screenshots!

The only thing left needing calibration is the display of the joints (grey circles). However, due to limitations in the drawing library that I am using, this is difficult.

1 comment:

Ryan said...

Added to my rss feed :)

-Hap