►SDL2 Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd-p1gSnbQhY7vMe2rng0IL0
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join
►Git Repo: https://github.com/MikeShah/SDL2_Tutorials
►Lesson Description: In this lesson I talk about how SDL2 and how to handle events. SDL2 handles this like many other event-driven applications, in which it will poll for events that are put onto a queue, and then those events can be handled individually.
00:00 Introduction
00:30 Explaining an Event Queue
2:20 Creating the main application loop
3:20 SDL_PollEvent and our event loop
4:40 Handling SDL_QUIT Event
6:39 Reviewing the Event Queue and Documentation
►YouTube Channel: https://www.youtube.com/c/MikeShah
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz
Download
0 formats
No download links available.
[Ep. 10] Application loop and Event Queue with SDL PollEvent | Introduction to SDL2 | NatokHD