Local Game?
Options
njt1982
✭
in Photon Bolt
So my game is primarily network and I have a main menu setup to start a server or a client (and connect to a server).
But there is a lot of code in the game side which revolved around Bolt (such as Bolt Instantiation).
Is there a recommended way of handling a local game without having to almost completely fork my gameplay code?
But there is a lot of code in the game side which revolved around Bolt (such as Bolt Instantiation).
Is there a recommended way of handling a local game without having to almost completely fork my gameplay code?
0
Comments
-
eg: One idea I've had is for the 2 player game to spawn a server with two local clients. Feels OTT though...0
-
A local game will behave just like you are hosting, use BoltLauncher.StartSinglePlayer() instead of BoltLauncher.StartServer()2
-
Damnit I was looking for that for an hour last night. I knew Bolt supported it somehow.
Thanks @stanchion !0