Tuesday 11 October 2011

Update

- Implemented proper Weapon object. Weapon object texture now properly follows the player object.
- Implemented the bullet system. Bullets are now generated when user holds left mouse button.
- Implemented the AssetManager object. Objects are now created by AssetManager.
  This was done to prevent each object to load from disk separately. Before, each object created  would load from the file for every object on the screen (or in memory).
AssetManager now only loads each resource (asset) once and if a 'wall' or a 'building' or a 'road' itd... needs to be created, AssetManager creates a copy of it's template object and returns a pointer to it.

- Need to implement ray picking algorithm so I can properly know where my mouse position is on the scene.
- Need to find replacement for Bresenham line algorithm as it doesn't deal with floating points.

@offtopic
You just have to love that Broken Sword subtle humor.

Lady Piermont: Good heavens you're a private detective?
George: That's correct ma'am.
Lady Piermont: What's the term you Americans use?
Lady Piermont: It's on the tip of my tongue.
George:I believe what you're thinking of is...Dick.
Lady Piermont: Precisely!

No comments:

Post a Comment