M
meme
Guest
Hey guys, this seems to be more complicated than the title, but here is the idea in steps:
1. I'm making a game that creates levels on its own, but to do this I need to create room chunks/templates and then "glue" it up in a final level room (e.g. chunk is 100x100, final level consists of 10 chunks because its size is 1000x100).
2. I created a python program that externally extracts the chunks into multiple (x, y, layer, obj) objects, and then stores it inside a 3D array. This array consists of multiple chunks, each consists of multiple objects, each consists of (x, y, layer, obj). So the total dimension is 3.
3. This array is then written into "output.txt" file such as this:
Question is how do I convert this 3D array into GameMaker? My initial thought is to just copy paste the entire output.txt content into GameMaker, but I don't know whether this is a reliable solution. And yes I'm aware that im using plain array instead of proper data structures.
Thanks for reading, if u have any suggestion please let me know.
1. I'm making a game that creates levels on its own, but to do this I need to create room chunks/templates and then "glue" it up in a final level room (e.g. chunk is 100x100, final level consists of 10 chunks because its size is 1000x100).
2. I created a python program that externally extracts the chunks into multiple (x, y, layer, obj) objects, and then stores it inside a 3D array. This array consists of multiple chunks, each consists of multiple objects, each consists of (x, y, layer, obj). So the total dimension is 3.
3. This array is then written into "output.txt" file such as this:
Question is how do I convert this 3D array into GameMaker? My initial thought is to just copy paste the entire output.txt content into GameMaker, but I don't know whether this is a reliable solution. And yes I'm aware that im using plain array instead of proper data structures.
Thanks for reading, if u have any suggestion please let me know.