newstalk

newstalk

:: like newspeak, minus the ungood bits. ::

newstalk RSS Feed
 
 
 
 

Posts tagged things

Using tags for metadata and lookup.

With my object system prototype, I wanted to explore the possibilities of tagging. An article in AI Game Programming Wisdom 2 (”A Flexible Tagging System for AI Resource Selection”, by Paul Tozor) spurred my imagination: the article poses the scenario of a first-person sneaker. The player sneaks up on two guards and overhears them complaining about the cold. The straightforward [...]

Building for persistence at a fundamental level.

One of the first problems I tackled in my prototype was persistence, because I foresaw the difficulties of object serialisation, and I feared them. Because I’ve chosen Python as my language of first resort, serialisation isn’t as big of an issue as it would be, say, in C++: it’s built in to the language as the pickle module. The mechanics [...]

Enabling data-driven object construction.

In my research, I’ve spent a lot of time reading what the developers of rogue-likes have to say. One of the more famous rogue-likes, Angband, uses text files to define just about everything in the game. This sounds a lot like the Pragmatic Programmer dictum: “put abstractions in code, details in metadata.”

Free Sky: People

The most important design principle that Free Sky must fulfill comes from the inestimable Chris Crawford:

People, not things.


subscribe