Friday, October 03, 2003

Back at work today, and managed to get some work done on fun stuff. Peter (Molyneux) had decreed that one of the factors determining how well stars in The Movies get on is their age difference, another is their relative stardom, a third being their sex. This meant some rewriting of code on my part, the old Friends system wasnt up to the job, so I ended up writing a whole new 'Karma' system to represent the interaction of peoples chemistrys and the creation and withering of friendships and relationships.
This was all good fun, especially the bit where I had to decide exactly how big an age difference you can have bwteen two people before it affects their relationship ;)
The challenge of course is to get all this kind of code to update in real time without bringing the system to its knees. Some of the code in the movies is adaptive, with its processing interval adjusting to that bit of codes relevance. I may have to do the same for the relationship gubbins.