Back to Browse

Game Engine Programming 055.2 - Using input to move around the scene | C++ Game Engine

3.1K views
Premiered Feb 28, 2023
19:42

✅ Support Game Engine Series https://patreon.com/gameengineseries In the last video we added a brand new input module to our game engine, and today we're going to use it to move the camera around the scene. First we're going to make it possible for entity scripts to receive events from the input system, and then we're going to write a bit of script code that will move the camera around depending on the user input. 🟥(Red Episode) ✅ Donations: https://www.paypal.com/paypalme/arashkhatami ✅ Discord https://discord.gg/75ZmXwz ✅ Twitter https://twitter.com/PrimalNippleMan 🐱 Mr. Frummel & Louis' unreal adventures https://instagram.com/mr.frummel 💜 Big thanks to Tribal Elders: Omar Rayyan 💚 Big thanks to Chief patrons: Simon, Eero Laine 🧡 Big thanks to Shaman patrons: Zachary Shrout, mg, Shaun Mitchell, Neil Wang, Michael McMahon, Jan Ohlmann, deathcat00, Talis Lincoln 00:00 - intro 00:49 - input system class 01:57 - camera script 02:23 - on-event and add-handler functions 05:29 - using spherical coordinates for camera rotation 10:34 - smooth rotation 14:48 - use WASD keys to move the camera keywords: graphics, renderer, game input, spherical coordinates by Arash Khatami ------------------------------------------------------------- #PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries

Download

0 formats

No download links available.

Game Engine Programming 055.2 - Using input to move around the scene | C++ Game Engine | NatokHD