Friday, June 15, 2007


Been a while since the last update, eh? Well, along with this post comes a screenshot of the current state of the RDE. No menu bar or status bar yet, but there is some nice highlighting going one which shows a Component selected for editing and each of the Properties that it affects highlighted in red.

As for the current state of the project, read below:


What has been achieved so far:
  1. Storage for multiple gametypes which is completely decoupled from the program itself
  2. Dynamic loading of game object information to ensure that the only bloat is Python's inherent size
  3. Game object data model and interface for listeners for changes to that data (which may not seem like a lot but was quite interesting to get working as I learned a good bit about properties in Python and initializing methods on the fly)
What is yet to be achieved:

  1. Implement the interface that allows the program access to and the ability to modify game objects (adding new ones, modifying existing ones, etc, and ensuring that changes are propagated to all important places). Examples of features that will use this are highlighting made to objects that have been changed since the last update and highlighting properties affected by a given component.
  2. Use a more robust and reliable method for reading in and writing out XML
  3. Ensure that all global variables are properly set and include a setup script to ensure that directories are properly recognized by the RDE (as it is now it's dependent on the working directory which must by .../tpruledev/src/ which is just sloppy)
  4. Code generation
  5. Possible use of XRC and AUI for GUI as per Mithro's recommendations (poking around the development branch on tpclient-pywx for that)
Anyway, more later.

-Fro

2 comments:

mithro said...

Cool progress. (It's actually XRC not XRX). You can find more information about it at
http://wiki.wxpython.org/UsingXmlResources
http://wiki.wxpython.org/XRCTutorial

It would be good if you have a look at the new stuff in tpserver-py. tpserver-py is using external files for the tpcl (scheme) code and CSV's for initial definitions. This may be easier to work with. (It's still a work in progress, so if you have any suggestions please email me.)

mithro said...

The screenshot looks cool, maybe it would be better to just change the text color rather then the background? Red is also a good color to reserve for errors.