Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

This is somewhat of an extension to this question: http://answers.unity3d.com/questions/513801/programatically-creating-entire-unity-games.html

I have a client who would like to create an entire game only using XML files. This is how the process should go like:

  • Build & Run a "GameCreator" project.
  • Read an XML file that has the attributes of all the scenes.
  • Create new scenes, fill it with new GameObjects, and load some prefabs.
  • Deploy this new project as a standalone build.

All of the above should NOT use Unity Editor. Is that possible ??

What happened is that I used Unity to create a "Framework", and the client wants to use this framework to generate more games without using Unity Editor, only through XML files.

I know that one can read XML files with Unity, but how to create a scene, fill it with GameObjects, load prefabs all using a standalone build, not the editor ?? Is there any other way to do what I've described ??

Thanks.

share|improve this question
1  
I don't believe you can build scenes without the editor( either in a game build or asset bundle build ), but why not just build a single scene and manage what a scene is yourself? If you're not using the editor, what do you gain by using Unity's scenes? –  Ben Jun 17 at 9:37
    
You are doing it wrong. This is adding a ton of complexity, for seemingly no reason. That being said, you could generate your scenes via XML files, just as long as you have all your prefabs already created. –  Jon Jun 17 at 11:17
    
@Jon I guess you're right. I'll create a simple scene with my prefabs, and then just parse the XML file to create the gameobjects and other links. –  DBoxer Jun 18 at 1:56
    
It sounds like your client may be treading close to legal concerns. I'd be careful you don't violate any of the EULA with Unity. Some of what it sounds like may fall within the realm of repackaging and redistributing their engine, as it pretty much sounds like they want you to re-skin Unity so they don't have to pay a licensing fee for their particular application. C.Y.A. man –  Stephan Jun 25 at 18:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.