Strategy Game Camera with Unity's New Input System

https://www.youtube.com/watc...
UseUnity's new input system and C# create a basic camera controller for a strategy game - RTS, 4X, tycoon or more. The camera has smooth horizontal movement, smooth rotation, zoom in and out, mouse to the screen edge and dragging with a mouse click. Strategy Camera Blog Post: https://onewheelstudio.com/blog/2022/1/14/strategy-game-camera-unitys-new-input-system Project Files: https://github.com/onewheelstudio/Adventures-in-C-Sharp/tree/main/Strategy%20Camera 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 Grab a T-Shirt: https://onewheelstudio.com/merch/ 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 Strategy Camera Blog Post: https://onewheelstudio.com/blog/2022/1/14/strategy-game-camera-unitys-new-input-system Project Files: https://github.com/onewheelstudio/Adventures-in-C-Sharp/tree/main/Strategy%20Camera 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 0:45 Camera Rig 2:26 Input Action Asset 5:39 Creating Class 6:32 Poop Ton of Variables 9:22 Horizontal Motion 15:41 Get Camera Directions 20:31 Rotational Motion 23:57 Zoom 31:12 Fixing Zoom 32:07 Screen Edge Movement 36:24 Camera Drag 41:27 THE END #NewInputSystem #Unity3D #GameDevelopment
I'm just one guy making games with Unity in his spare time. I first opened Unity in 2013 and fell in love. This channel grew from making videos to support my real-world students - so they could work more independently. I've taught with Playmaker, Bolt and most recently the class has moved to C# - which matches the evolution of this channel. My goal is to make clear, concise videos minus the usual BS. Got questions? Like what you see? Come join the discussion on Discord: discord.onewheelstudio.com I also produce custom tutorial videos and currently produce the Odin Inspector tutorials. Need a tutorial, promo or review video? Find more information at: https://onewheelstudio.com/customvideos
Fracture the Flag
Currently working on Fracture the Flag
Fracture the Flag is not the usual hyper click fest of an RTS... Take some time, gather your resources, plan your strategy and then knock the crud out your opponents!
https://store.steampowered.com/app/...
Subscribers
Patreon
https://www.patreon.com/onewheelstudio
28 patrons
29,00 € per month