Hey peeps. I'm currently working on a level editor for my game. and the part im working on at the moment is like, the sprite editor for it, where you can load a bitmap from a preset directory 'Sprites' in the games directory, set the collision points and then use it. Basically, i want to make it so when you click a save button, it saves the name of the bitmap, and 2 numbers for the collision to a file... How would i do this?
I kind of also need to know how to load this information :D
The name of each bitmap is stored in an array:
std::string directories[100];
Ive never really done much saving with C++ yet, so any info would be greatly appreciated. Also, im still new-ish... So im looking for simple ways... :)
Thanks!
Aaron