Hi Unity Forums! I’ve just begun using Unity properly in both my day job and off time. I have a rather big problem looming on the horizon and I’d love some help. First some background:
In my day job I’m researching techniques for automating game design, as part of a PhD project. It’s called ANGELINA, and you can read more here: www.gamesbyangelina.org. I’m just moving to Unity, which is promising many exciting things but also new challenges. ANGELINA is a system that produces games; that is, when you run it it generates a game by testing prototypes, etc. In the past I used Flash or Java as an output language, so ANGELINA would edit existing code files and throw some images in a folder, and I’d compile them at the end. Simple.
Unity offers much more for me. I’ve build Editor windows and cool bits of code that pull down resources from all over the web. But there’s a problem. ANGELINA produces a game in Unity… but I can’t export it. Because the actual game project, the thing I’d be building, is the entire of ANGELINA. When I run ANGELINA in Unity, it produces a game in the Game window and I can play it… but I need to export that game. The game that’s just been generated. Not the rest of ANGELINA.
There’s generated level geometry, images and textures selected from the web and folders inside the project, even generated code. I don’t know how to export this generated game. I had a few ideas:
- Copy all the files I need into a new folder and painstakingly reassemble the game by hand. This will take ages.
- Maybe serialise the game state and write a tool to automatically unpack it into a new project?
- Ask the Unity Community.
The first two are an awful lot of work if they’re going to fail. So I thought I’d try 3. first and ask you guys. What’s your advice on exporting ANGELINA’s games into a new Unity project so I can build them for the web? Even better, for bonus love, could this be a process that ANGELINA automates itself?
Mike