Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    122
  • comments
    121
  • views
    69270

Cripes 2.0: A short note

Sign in to follow this  
Twisol

323 views

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!
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!