tuttlem / phony

Bootstrap code for game applications
1 stars 0 forks source link

Asset management #1

Open tuttlem opened 10 years ago

tuttlem commented 10 years ago

Setup a sub-system (probably using the singleton pattern) that will have asset management implemented. Being able to load resources off of disk into a map that's addressable by symbolic string would probably be the lightest load.

You'll need managers for:

Textures/Images/Sprites/Animations Sound/Music 3D Models Generic Binary Data (Maps, etc) Lua Scripts

tuttlem commented 10 years ago

First piece is complete with textures being loaded from TGA files into a common management framework. It's also established the pattern to use for these singleton objects.

tuttlem commented 10 years ago

Sound and music is now complete. Asset managers also have their own generalised template base class to perform some basic singleton management.