08-05-2013, 10:23 AM
(This post was last modified: 08-05-2013, 10:25 AM by Terminal Devastation.)
Inactive stickied threads always make me uneasy when I want to post in them...
Anyways, I'm pretty sure this is where'd I'd ask this:
I'm curious on how you all structure the inner engine in your games. Like what sort of little bits of hidden manager type objects/code you have running behind the scenes.
I'm asking because the my last attempt at tried to code a game ended up unable to scroll a loaded level without lagging severely. I suspect the reason either I structured/sorted everything really badly or just horrid collision detection.
Even if its the latter, I think it'd be interesting to see how others do it. I just had an object manager class thing, and then a level manager that managed all the tile objects in the objectmanager... and I think thats where I messed up.
[quick edit] Should mention I'm using C++ and SFML.
Anyways, I'm pretty sure this is where'd I'd ask this:
I'm curious on how you all structure the inner engine in your games. Like what sort of little bits of hidden manager type objects/code you have running behind the scenes.
I'm asking because the my last attempt at tried to code a game ended up unable to scroll a loaded level without lagging severely. I suspect the reason either I structured/sorted everything really badly or just horrid collision detection.
Even if its the latter, I think it'd be interesting to see how others do it. I just had an object manager class thing, and then a level manager that managed all the tile objects in the objectmanager... and I think thats where I messed up.
[quick edit] Should mention I'm using C++ and SFML.