A related set of properties (height, colour, level) and methods (pick up item, jump, attack) that are used to describe an entity in the game.
1
vote
2answers
551 views
Is there any option other than Component Based for game architecture?
Having read a lot recently on Component Based systems (for games), i find it hard to go back to my earlier state of mind.
If static object hierarchies fail to model "objects with a dynamic set of ...
11
votes
1answer
850 views
How to gain accurate results with Painter's algorithm?
A while ago I asked how to determine when a face is overlapping another. The advice was to use a Z-buffer.
However, I cannot use a Z-buffer in my current project and hence I would like to use the ...
0
votes
1answer
473 views
In some games, we just let the main() loop be the Player object or Table object?
I was thinking that let's say if there is a game of Blackjack or MasterMind, then we should have a class called Dealer or ComputerPal, which is how the computer interact with us (as a dealer for ...