Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Texture Manager (Solved)  (Read 3734 times)

0 Members and 1 Guest are viewing this topic.

diseasedtoe

  • Newbie
  • *
  • Posts: 4
    • View Profile
Texture Manager (Solved)
« on: December 28, 2011, 04:09:59 am »
Hey guys,

I was wondering if you could point me in the right direction as to how to make a texture manager.  What I mean by this, is I want to have some way to keep track of the currently loaded textures.  Then lets say I wanted to load in a texture, and the manager detects that it is already loaded, it will not allow it to be loaded again, so I can save memory.

EDIT: I found this sfml extension called Thor C++ Library link: http://www.bromeon.ch/thor/

He provides all the functionality I need.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Texture Manager (Solved)
« Reply #1 on: December 28, 2011, 11:04:39 am »
I'm glad the ResourceManager provides the functionality you need. If you have questions, ideas or other feedback, don't hesitate to inform me. I would really appreciate it, since only few people seem to use Thor's Resources module so far. And maybe I will slightly change it in the future, so ideas are always welcome :)

By the way, I recommend to use the SVN version instead of Thor 1.0. It is up-to-date with a recent SFML 2 revision, contains more features and some bugs have been fixed.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything