Custom file type

BlitzPlus Forums/BlitzPlus Programming/Custom file type

Hi all. I want to create a custom file type that I can use to place multiple "objects" in. I want this file to hold the objects image (probably in BMP format) and also any number of user defind settings along with the setting type, for example: String ObjectName, int ObjectLife etc.

So this file will hold the actual objects image, and any number of settings. Then in my level editor the user can select that file and will then see all the objects within that file that they can add to the game. If they right click on any object, once it has been placed in the level, the user can change the objects settings.

So how do you mix graphics and text information into one file? I guess in a way i want to make my own version on a PAK file! This is a 2D game if that makes any difference!

Cheers