Proof of concept

From Component Based Objects

Jump to: navigation, search

In this section we present generic problems the implementation might face and how they would solve them. The solution make take the form of source code, pseudo code or just a description. These solutions are meant to increase the understanding in the different implementations and ease the choice of which one to go with. The problems are not supposed to be too specific or biased towards one particular implementation. The typical problem may come from a game programmers perspective but other views are welcome.

Problems

Dungeon Chars & Objects

Problem: There is a Dungeon[mesh name, position, physical desc] with a player[name, mesh name, strength, speed, a sword in the inventory], a monster[mesh name, physical desc, speed, strength, weapon] and a door[mesh name, physical desc] between them, the player is controlled by input and the monster by AI. Both characters can open/close the door. How do you create these objects?

Solutions

xxx

Personal tools