How do you manage and organize your game components?

in my spare time I am writing a small game using the Microsoft XNA framework. After looking at the first prototype I wrote to get familiar with XNA, I was annoyed that there was no way to structure my (graphical) game components hierarchically. For this I came close to implementing a kind of Composite

(Drawable) GameComponent

. But before reinventing the wheel, I ask you: how do you prefer to manage and structure hierarchically related game components?

thanks, Prensen

+1


source to share


1 answer


XNA is the basis for writing game engines, not a game engine :) You say scene graph



+4


source







All Articles