Cripes 2.0: A short note

Published February 20, 2009
Advertisement
Holy smokes!! I put in the resource managing stuff, and my maze generation time dropped to under fifty ticks. No needless copying of sprite buffers apparently! Each Entity now holds a const SpriteSet* to its associated set of sprites. The SpriteSets are created only when loading them in from a file; when EntityLoader Construct()s an Entity, it constructs it with a pointer to its SpriteSet. I had no idea it would make that much of a difference! Better, I think I can turn my Corner# entities back into one Corner entity, but I'll save that for tomorrow... er I mean later today.

For your regularly scheduled journal entry, please scroll down one post. Nothing else to see here!
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement