| bio | website | extropicstudios.com |
|---|---|---|
| location | Texas | |
| age | 24 | |
| visits | member for | 2 years, 3 months |
| seen | May 5 at 18:52 | |
| stats | profile views | 38 |
I write code! Check out my website: http://www.extropicstudios.com
|
Jul 3 |
comment |
How to design a game engine in an object-oriented language? @user712092 Not necessarily. But the question was, if writing in an object oriented language, what would be an example of a good model? |
|
Feb 13 |
awarded | Self-Learner |
|
Feb 13 |
comment |
How to design a game engine in an object-oriented language? Also, in regards to your first comment, I'm not expecting anyone to come up with a master plan that fits every game. I just noticed, over the course of developing a few games, that common patterns do tend to come up a lot, so I wondered what other people used in their games. |
|
Feb 13 |
comment |
How to design a game engine in an object-oriented language? The Enginuity link was broken, and googling the articles seemed to show that they are no longer on the web. (?) The books look like good resources though, and I'm always keeping an eye out for more programming books ;) |
|
Feb 13 |
comment |
How to design a game engine in an object-oriented language? @TheCommunistDuck That image was actually really helpful, thanks! |
|
Feb 13 |
comment |
How to design a game engine in an object-oriented language? @TheCommunistDuck It doesn't really come through in the examples I picked, but I do have a lot of problems with this code. The ResourceManager class is one of them, but I have with trouble with states too-- I end up with a huge proliferation of them, and copy a lot of code. Especially in an RPG, where the player has lots of choices at any one time, you can end up with really complex state graphs. Example: casting a spell. Goes from NormalState -> SelectSpellState -> SelectTargetState -> InvalidTargetState (if it failed) -> DoSpellAnimationState -> NormalState. And that's just one action. |
|
Feb 13 |
comment |
How to design a game engine in an object-oriented language? @TheCommunistDuck I got a 403 Forbidden error on that link... |
|
Feb 13 |
comment |
How to design a game engine in an object-oriented language? @TheCommunistDuck Because going on impulse is the approach I've taken in all of my previous projects-- and every single one hits a wall after a few months when I find that any new feature requires monumental effort and complexity to add. Right now I spend more time rewriting my engines than I do writing the game itself, so I'm hoping that by with a little forethough and planning I'll save myself time in the long run. |
|
Feb 13 |
awarded | Supporter |
|
Feb 13 |
awarded | Student |
|
Feb 13 |
awarded | Teacher |
|
Feb 13 |
answered | How to design a game engine in an object-oriented language? |
|
Feb 13 |
asked | How to design a game engine in an object-oriented language? |
|
Feb 11 |
awarded | Autobiographer |