Jump to content
  • Advertisement
Sign in to follow this  
nbize

Sound, Image and Music Packaging

This topic is 3628 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi community, I was wondering if you knew of articles / tutorials that explain how to package / unpackage an entire game's multimedia files. I currently have a .net project, and within my different classes, I'll reference directly to images, sounds or musics. For ex, I'll use a CTexture oTexture = new CTexture("/images/texture.jpg"); to load up a texture... Likewise for all game sounds and music... Somehow I would like it if all of that was packed into a GAME.PAK and not have hundreds of files running around in different subfolders. Any idea on hwo to do this? Thanks

Share this post


Link to post
Share on other sites
Advertisement
You use something like PhysicsFS, which lets you read from a compressed file or the normal filesystem. Check the tutorial for the simple guide to using it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!