Hi All,
Is it all all possible, either using plugins or without, to generate a level on the fly using XML?
For example, if you have a pre-defined prefab, or game element, for example a cube, could you use an XML file to determine the postion of the item, and attach at premade script? For example, say you have a prefab called "building", and a script called "buildingController", and say that you wanted to put the prefab postion at 10, 10, 50 Could you use an XML file similar to the one below to do all this?
<xml>
<level>
<objects>
<item_1>
<prefab>
building
</prefab>
<script>
buildingController.js
</script>
<postion>
10, 10, 50
</postion>
</item>
</objects>
</level>
</xml>
Thanks!