[Ep. 20] Texture Blending and handling mouse events | Introduction to SDL2

Опубликовано: 03 Октябрь 2021
на канале: Mike Shah
3,388
106

►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 show you how to perform texture blending with textures, and in addition we control the different blend modes using the mouse--thus revisiting events again!

00:00 Introduction and Review on Textures
3:00 Creating a second textured rectangle
4:00 Adding mouse motion events
5:30 Fixing mouse motion bug
6:58 Moving second rectangle with mouse successfully
8:00 SDL SetTextureBlendMode explanation and application
9:25 The different blend modes
10:30 Using mouse buttons to change blend mode
14:32 Change blend mode with mouse buttons test
14:57 Color key is part of the state of blending modes
16:12 Demoing all of the blending modes

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...


Смотрите видео [Ep. 20] Texture Blending and handling mouse events | Introduction to SDL2 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Mike Shah 03 Октябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 3,388 раз и оно понравилось 106 посетителям.