[Ep. 10] Application loop and Event Queue with SDL PollEvent | Introduction to SDL2

Опубликовано: 17 Сентябрь 2021
на канале: Mike Shah
8,334
207

►SDL2 Playlist:    • SDL2 Simple Directmedia Layer  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Git Repo: https://github.com/MikeShah/SDL2_Tuto...
►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:    / mikeshah  
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...


Смотрите видео [Ep. 10] Application loop and Event Queue with SDL PollEvent | Introduction to SDL2 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Mike Shah 17 Сентябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 8,334 раз и оно понравилось 207 посетителям.