Hi, i'm making a game with level editor and i I need to save the XPos, YPos, Angle and ID of each object separately (like this):
Template:
Code:
[Group]
<objectID>,<XPos>,<YPos>,<Angle>
Sample:
Code:
[LevelObjects]
1,256,450,0
1,320,450,0
...
But if i just click Save Position in ini file, and then load it the same way, every object loads its position at coordinates of first placed object with the same name. I know how ini file works, but i can't realize how to save & load data of every object with the same name separately in one file.
Here's an image of the main problem: