Developers' Diary

Soft Graphing

Changing the way guys display on the screen to use OpenGL pretty much touches every bit of the game’s code. My approach has been to change the way images are loaded, then follow the trail of errors all the way to the point when they are displayed, fixing things as I go. I’m about halfway through this quagmire of repairs, but already several messy systems have been cleaned up considerably. When dealing with an array of dictionaries of arrays, it helps to visualize things:

images array visualization

Update: apparently WordPress doesn’t create very attractive thumbnail images.

No responses to 'Soft Graphing'.

Comments and pings are currently closed for 'Soft Graphing'.