Grease

From Post-Apocalyptic RPG wiki

Jump to: navigation, search

Grease

What is Grease?

Grease is a way how PARPG stores data.

It is a component based entity system.

The basic idea is that you don't have concrete classes/objects but components from which you can build objects (entities). Components are classes, but in Grease they only store data - like a database.

The point for Grease is that you can fully customize the objects:

http://forums.parpg.net/index.php?topic=866.0

For example, you can make any object have a dialoge without it having to derive from a certain class.

Grease link itself: http://packages.python.org/grease/

PARPG uses a customized grease, though, as we don't need pyglet.

Personal tools