Input System // Zig Game Engine Series

Опубликовано: 24 Май 2026
на канале: Pokelego Dev
585
32

Welcome back to the Game Engine Series! In this video we build on the event system we built from last episode and created an entire Input system. The input system is a critical system in a game engine as it's what's game developer use to be able to get things like keyboard and mouse input. I also show one of the best way's to do singleton's in Zig through the standard libraries "once" function. With "once" we don't need to worry about the initialization of the struct, it's all handled for us in a thread-safe/atomic way.

📚 Topics Covered:
Using our event system
Building out an input system
Singletons in Zig

Come watch me stream engine development live on Twitch   / pokelego_dev  

🔗 Links:
Repository ► https://github.com/Zephyr-Engine/zeph...
Discord ►   / discord  
X ► https://x.com/pokelego_dev
Previous Video ►    • Event System // Zig Game Engine Series  
Next Video ►    • Time + Sandbox App // Zig Game Engine Series  

🖥️ Equipment:
Shure MV6 Microphone: https://amzn.to/49rRfre
Logitech G903: https://amzn.to/4pxNera
32" 4K Monitor: https://amzn.to/4jDLbka
Lightbar: https://amzn.to/49xTeKA
Elgato Camlink: https://amzn.to/4jU106B
1TB SSD: https://amzn.to/4jxPFsp
Camera Tripod: https://amzn.to/3Ldr2Vs
Camera SSD: https://amzn.to/3NDKpYk

0:00 Intro
1:20 Engine Editor Teaser
2:00 Fixes from Last Episode
3:19 Logging
10:04 Window Abstraction
22:04 Outro

Attributions:
https://www.flaticon.com/free-icons/t...

Music I use: Bensound
License code: 8LDV4HESGZFJUL96
Artist: : Lunar Years

#GameDev #Zig #GameEngine #Programming