- Home /
Multiplayer advanced - Single Player in Multiplayer game, using another Hosting services.
Hello internet!
[EDITED]
I’m am starting to develop a multiplayer game for android devices, and before I get to work I have to find solutions for some issues, so can you please give me some advices on this:
How should I write code so that game will be playable on single player and multiplayer as well?? Should I split up the project by making for example 2 player prefabs – one for single player and another for multiplayer (also different scripts attached). Or should I have only one player prefab?? So then I will have to write all logic (single player and multiplayer) into same scripts – how hard it will be? For example – What changes should be done in Multiplayer FPS project from Brackeys tutorials so that it will support Single Player? One solution that I found is to start the game as local host and block other people to join the game in case of single player mode, is it good solution? Anyone tried?
Can I host matches on another hosting services instead of those provided by Unity? If yes then give me some advices on how to achieve that and some good examples, if not then is it hard to implement another matchmaking system? p.s. Sorry for bad English, it’s not my first language ;). Thank You!!!