Local Multiplayer and Split-Screen - New Input and Cinemachine
https://www.youtube.com/watc...Local multiplayer and split-screen functionality is much easier to implement than networked multiplayer. Unity's new input system makes it even easier with the built-in tools and components. Multiple Cinemachine cameras can also be used. C# events can be used to react to players joining or leaving.
Tutorial Code: https://github.com/onewheelstudio/Adventures-in-C-Sharp/tree/main/Split%20Screen
Tutorial Blog Post: https://onewheelstudio.com/blog/2022/2/3/split-screen-multi-player-with-unitys-new-input-system
CodeMonkey Video (go to minute 9:00): https://youtu.be/uDYE3RFMNzk?t=540
Assets Used in the Video (Affiliate)
************************************
Low Poly Megapolis: https://assetstore.unity.com/packages/3d/environments/urban/low-poly-megapolis-195499?aid=1100lHSw
Toony Tiny People: https://assetstore.unity.com/packages/3d/characters/toony-tiny-people-demo-113188?aid=1100lHSw
Want to support the Channel?
*******************************
Shop the Unity Asset Store (affiliate): https://assetstore.unity.com/top-assets/top-paid?aid=1100lHSw
Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join
Or a Patron: https://www.patreon.com/onewheelstudio
My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production
Buy a Game Design Book: https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
Video Gear List (Amazon Affiliate)
***********************************
Sony A6100 Camera: https://amzn.to/32logXz
Sigma 16mm 1.4 Camera Lens: https://amzn.to/3KA4Wr4
GoXLR (audio interface): https://amzn.to/35dmr03
Shure SM7B Mic: https://amzn.to/3fNbV1E
Blue Mic Arm: https://amzn.to/3tHgwdQ
Neewer Light: https://amzn.to/3rD8eRv
Light Softbox: https://amzn.to/3GUaHgQ
Neewer RGB Light: https://amzn.to/3rCTQJ9
Other Links
************
Discord: http://discord.onewheelstudio.com
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
Timestamps
*************
0:00 Intro
1:29 The Basics
2:45 Initial Setup
4:26 Split Screen
5:49 Connection Controls
7:18 On Player Join
9:10 Toggling Objects
10:02 Cinemachine Cameras
12:14 Cinemachine Input Handler
13:20 THE END
#GameDevelopment #Unity3D #indiedeveloper
Home
/
Indie Game Developers/
One Wheel Studio/
Local Multiplayer and Split-Screen - New Input and Cinemachine