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

Published: 03 October 2021
on channel: 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/...


Watch video [Ep. 20] Texture Blending and handling mouse events | Introduction to SDL2 online, duration hours minute second in high quality that is uploaded to the channel Mike Shah 03 October 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,388 times and liked it 106 visitors.