Game Development Community

Best way to transfer a scene

by Ryan Jones · in Torque Game Builder · 08/01/2010 (11:58 pm) · 1 replies

For example, I'm making Game1, then I work on Game2. I have a scene within Game1 that I would like to transfer to Game2. Is there a good way about doing? I've been experimenting with just transfering the tilelayers, images, and the scene itself but then you have to import all the images so it's a pain to rebuild. Just curious is there a better way?

#1
08/02/2010 (1:49 am)
The easiest way is as you describe: transfer the tile layers, images, and the scene file itself, but don't forget game/managed/datablocks.cs which contains all of your image datablocks. You can either start your new game with this file or merge it with your Game2's existing datablocks.cs file. As long as you copy your images into the same relative directory structure, you'll not have to touch the datablocks.cs file at all.