How can you put all images from a game to 1 file?

Posted by ThePlan on Game Development See other posts from Game Development or by ThePlan
Published on 2012-09-25T06:57:20Z Indexed on 2012/09/25 9:49 UTC
Read the original article Hit count: 149

Filed under:
|
|

I've just finished a basic RPG game written in C++ SFML, I've put a lot of effort into the game and I'd want to distribute it, however I've ran into a small issue.

Problem is, I have well over 200 images and map files (they're .txt files which hold map codes) all in the same folder as the executable, when I look in the folder, it makes me want to cry a little bit seeing so many resources, I've never seen a game which shows you all the resources directly, instead I believe they pack the resources in a certain file.

Well, that's what I'm trying to achieve: I'm hoping to pack all the images in 1 file (Maybe the .txt files as well) then being able to read from that file or easily add to it.

© Game Development or respective owner

Related posts about c++

Related posts about resources