Universal Game Help/Tips

I’m having a go at making a universal game (also known as a Multi-Place game) for the first time. My only existing understanding of this type of game is the information explained on the wiki here:

My main question: Is there a way I can centralise some of the core scripts and GUIs, so that I do not have to repeat them across all places? I plan to have 5-6 different places inside one game, so having a centralised area to put the game’s core-work in would make updates/modifications much simpler.

Also, are there any useful tips I should know before creating my universal game?

You could put them inside a model and just share 1 script through all of your places.

local Game = game:GetService('InsertService'):LoadAsset(blah);

-- Do stuff with the models/unpack them

From there on you should be able to just update the model and have the places sync.

4 Likes

Oh yeh! Thanks, that should do the trick.

Does anyone know any other useful tips for universal games?

I haven’t messed with the universes feature much, but isn’t this exactly what linkedsource is for?

I didn’t realise that, but the apparently do:
“To create a linked source the game where you want it to be used must be published. Linked sources are assets, like images, and can be shared across all of the places in a game.”

Thanks for the heads up. Ill play around a bit with both methods and see which I find best.

Do you know if you can do the same for GUIs?

I would personally use a Private Module since I had issue with using linked source for a group project. You might be able to parent the gui to the module and have access to this ingame. But this is not something I have tested out myself.

1 Like

Yep, it is possible to parent GUIs to private modules. What sort of issues did you encounter with linked source?

I tried to use them for a group place but since it treats the script as an asset there was not a way I could add it to the group. So the group game would not be able to access this asset due to it being owned by me even though I had full access to the group place.

Im not sure if it is possible to add them to a group.

1 Like

They work for me - you have to make sure to publish the game where you create your linked source first, the re-start both places after.