how do I combine multiple projects as one to create one game?
I want to follow a tutorial that recreates games like color switch, frogger, line rider etc. But I want to combine them so that the complete game will have multiple mini games like the app 101-in-1 Games that have multiple games in one. Do I make separate projects then some how but them in one project? or do I make them all into one project but as different scenes? I want to be able to play each game that I create.
Answer by UnityCoach · May 04, 2017 at 12:54 PM
If you want to make sure there's no conflict between classes, I would suggest you open every script of every project and put them in a separate namespace. Like :
namespace Frogger
{
public class Foo : MonoBehaviour
{
}
}
Then, you can export every project whole assets to unity packages, and then merge everything in one. One thing you may stumble upon, is conflicting Project Settings, like Inputs or Physics settings. You'll have to save those to custom assets, and reload them at runtime for each game. I believe there are extensions on the AssetStore for this.
I forgot to say, you'll need a loader screen. You can do this with a UI menu that loads individual scenes from your other projects. You may want to isolate every project in a separate folder in the assets too.
Hi, I am working on a similar project. Some of my games have different project settings, such as Inputs. You mentioned that we can create custom assets and reload them at runtime for each game. Can you please provide more information on how to do that.
I am fairly new to Unity3d.
I'm working on something similar. There are conflicts in ProjectSettings, as some games are using different project settings. How can we save ProjectSettings as custom assets and load em at runtime?
Your answer
Follow this Question
Related Questions
Sharing Variables Between Projects 3 Answers
How to play a Unity 2.x game in Unity 5.0.1 1 Answer
The Unity 5.x Networking Subsystem: Any good tutorials? 0 Answers
How to make a follow camera code and jump sistem 1 Answer
memory games 0 Answers