Game object
From Gnoll's Wiki
Contents |
Description
In a game, we have a lot of game play elements, we have trees, house, character, and others. A game object is a representation of these, we compose it with "components" that we call Game Object Components. We profit of Dynamic Object to define all the aspects in a XML file, no need to edit the code, artists can create it. All combination is possible (tree movable for exemple).
Features
see Dynamic object
Game Object Component
Here is a list of all Game Object Component available and a description for each one :
- COgreAnimatedMeshComponent
- COgreMeshComponent
- CPositionComponent
- CScalingComponent
- CRotationComponent
Examples
<attribute name="gameObjects">
<list>
<gobject instance="Arbre">
<attribute name="components">
<list>
// See description of each component to insert here :)
</list>
</attribute>
</gobject>
</list>
</attribute>
