Hello, I would like to parse and update a map file to add some random objects on the floor.
Is there any reference document to help me, or should reverse engineer the file format ?
Parsing a map file
Up
Hi,
I try to override the loadMapData of OpenSpaceExtension to store maps in a database;
But even if i understand the return object is a String (JSon Map data) like the content of *.map files generated by OpenSpace Editor, i dont understand how to generate my own return object.
Is there any explanations somehere on how to generate JSON like valid map data ?
Edit: An explanation for keys and associated data
Hi,
I try to override the loadMapData of OpenSpaceExtension to store maps in a database;
This method should be overridden by the OpenSpace Extension child class in case maps are stored in a custom way (for example a database), to load and return their data properly.
But even if i understand the return object is a String (JSon Map data) like the content of *.map files generated by OpenSpace Editor, i dont understand how to generate my own return object.
Is there any explanations somehere on how to generate JSON like valid map data ?
Edit: An explanation for keys and associated data
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 61 guests