Burger Engine Blog

Component-based architecture

For our first blog post we are going to talk about how we decided to organize the Burger Engine architecture.

Some of you might be already familiar with component-based architecture.  It’s a flexible and reusable way to build your engine. Basically, we want to create game object based on the aggregation of several behaviors rather than relying on a classic hierarchical classes with inheritance.  It has been used for some years in the game industry (Here one of the most cited article on the subject on CowboyProgramming blog) , but it has recently become a big trend over amateur/indie game development.
Even so, it’s hard to find a complete example of how to implement it, maybe because it’s not as simple and intuitive as inheritance. In this post we are going to show how we try to implement this architecture in the Burger Engine.

Share on Facebook