I want to create a Level Editor and create many levels for my game so i can then put them as a JSON string in my game and play the levels.
(I could create the levels faster this way)
Im really new to arrays and I don't know how to use them to get the coordinates of the objects (sprites etc.).
I found this Tutorial ( https://www.scirra.com/tutorials/585/ho ... vel-editor ) but it doesn't really describe how to do the things.
I also found this video on Youtube ( https://www.youtube.com/watch?v=2kQ27MZ-6nA ) which shows a Level Editor that's similar to that what i want to make.
It would be really nice if someone could describe exactly how to put the coordinates etc. of the levels objects into an array then save them into a JSON string and then load them again from the JSON string.
Thanks really much for replies!