Daniel Mallett
Member
I have a level editor I have created. It loads tiles (Not important right now) and it loads objects like bushes, platforms, switches etc. The locations and other information about these objects are saved to an ini which is then in turn loaded into a separate GMS2 project (The actual game).
Now the problem is that the sprite numbers or ID's what ever you want to call it, have to be the same as the game or I have to write a translation. So an apple sprite may have an ID of 16 so when I load up the ini it will see the ID is 16 then load what ever the ID corresponding to the apple happens to be in the game project.
The issue is that if I add additional sprites, remove or reorder them. I have to do this in both projects or change the translation to point to the new ID.
Is there anyway to get around this. I'm hoping so.
Thanks in advance.
Now the problem is that the sprite numbers or ID's what ever you want to call it, have to be the same as the game or I have to write a translation. So an apple sprite may have an ID of 16 so when I load up the ini it will see the ID is 16 then load what ever the ID corresponding to the apple happens to be in the game project.
The issue is that if I add additional sprites, remove or reorder them. I have to do this in both projects or change the translation to point to the new ID.
Is there anyway to get around this. I'm hoping so.
Thanks in advance.