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 (
I also found this video on Youtube (
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!