“The only reason for time is so that everything doesn’t happen at once.” - Albert Einstein
The solution to last week’s console print slowness ended up being to thread the printing as Fabio suggested in the first comment. This resulted in about a 100% speed up. After solving that, I spent time on getting more of MyGUI binded to Lua so we can quickly make new GUIs for the game. I am pretty happy with the results so far. I also had a lot of fun generating graphs to help visualize problems in the networking code. Because network events happen so often and so quickly, it is hard to understand problems with simple printouts or through normal debugging. Below is an example of one of the graphs I am generating using PyChart:
This shows 1 second of time on the x axis and how long each event took to process on the y axis. The big streak of red dots (reliable data) from 34.218 to 34.718 represent a problem. The green dots (unreliable data) should still continue at a nice 50 MS interval throughout the red dot zone.
This week I am heading down to San Diego again to work with Dave and Ian. I am sure there will be plenty to do.
Last week I split my time between helping Ian test race mode and figure out some bugs in the placement system, and replicating / building GUIs in MyGUI’s layout editor. Once you get to know how the editor works it is actually very quick to create new GUIs which is a big plus for us. Here is a screenshot of all the GUI’s I made last week.
This week I will probably continue tweaking some GUIs as we try to hook them up, as well as continue helping test race mode.
With David’s help I spent most of last week going through Zero Gear’s race mode with a fine toothed comb and found some logic and game balance problems.
This week I’ll continue to work on some of the bugs present in race mode and then work to make it more balanced and enjoyable for all players.


