newstalk

newstalk

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

newstalk RSS Feed
 
 
 
 

Posts tagged object

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: Objects in Space

For a comprehensive RPG like Free Sky, we’re going to need a good object system. This system should be no more complicated than necessary, allowing for easy design of game objects and quick overhauls when the game design changes. This mini-series will be a quick sketch of my thoughts toward this end.

Some principles, before I get started:

Enable data-driven object [...]


subscribe