Hello Unity3D.I have a question about multiplayer.How do i make my game able to player up to 4 players locally from the same computer?I have been looking online for some tutorials on multiplayer but they have been all about online multiplayer.I dont want that(YET).But if anyone knows any tutorials on local multiplayer or anything to get me started on it can you please tell me how?
Here’s a tutorial by unity for local multiplayer: https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/local-multiplayer-with-controllers
And you can find out how to create a split screen with multiple cameras by setting each one’s viewport to only a portion of the screen: Unity - Manual: Camera Inspector window reference for the Built-In Render Pipeline
Read the section about Normalized Viewport Rectangle.
You can’t effectively have 4 players play from a single computer although if you were @Cherno is right, it’s just a matter of setting the Input to effect only certian gameobjects(Players) the problem is a keyboard can only pick up so many inputs at a time i beleive if anything more than 4 keys are pressed at the same time it won’t read them.
you should set up a LAN connection between 4 computers instead.