Game Engine from SCRATCH: Window and Events! | C++ Engine Devlog #01

Опубликовано: 12 Май 2026
на канале: Guilherme Teres
2,178
96

✅ Support this Project (Patreon): http://bit.ly/patreon-uniday
➡️ My Discord Channel: http://bit.ly/discord-uniday-us

The entire source code for this video plus others is available on my Patreon, so if you're interested in it, check the Patreon link for more details!

This is probably the first "real" Devlog video of this 2D Game Engine that I'm writing from scratch in C++ and OpenGL to document the process. The first main thing that we are going to do is to create the System elements for it, starting at the Window and Event handling. Notice that I decided to NOT use any third party cross platform library to do that, meaning that I'll have to implement those backends for each OS I plan to support (Windows, Linux, Emscripten, etc). For today's video, I've done it for Windows.

Timestamps:
0:00 Introduction and Series Overview
0:25 Setting Up the Dynami Repository (Github)
0:47 Project Structure Explanation
1:23 Creating the First Window and Handling User Input
1:48 Importance of Ignoring Temporary Folders
2:16 Implementing Window and Event Handling from Scratch
5:30 Creating an OS-Agnostic Window Class
7:22 Defining Event Types and Handling Keyboard Input
8:36 Updating and Recording Event States
12:24 Implementing and Testing the Basic Game Loop
14:29 Demonstration of the Initial Implementation
16:23 Conclusion and Next Steps

························································
► Uniday Studio
By: Guilherme Teres Nunes