Original Post
Are there any books or articles on how to lay out your game engine? Currently my engine has a ton of features including terrain, normal mapping, entity loading from XML files, and more, BUT my layout causes me trouble. It seems I run into situations where I need entities to talk to each other (such as with collisions), but I just can't seem to make it work. Let me describe a scenario where I have problems: In my scene I have terrain with a house placed on it. How do I allow my player entity to walk into the house? Say I have the house floor board and walls set up as Opcode objects (or whichever collision engine); surely I can't check the player against them every frame because sometimes the player entity will be very far away from it. How would I set something like this up? Thanks for any advice!