Simple 2D Lighting - GameMaker Tutorial

"Hole punching" is an extremely popular trick to implement simple 2D lighting in GameMaker games. It only takes a few minutes to set up and all you need is a surface and some blend mode magic! Example on Github: https://github.com/DragoniteSpam-Game... Surfaces:    • Introduction to Surfaces - GameMaker Tutorial   The application surface:    • The Application Surface - Post-Processing ...   Blend modes:    • Blend Modes - Simple Visual Effects in Gam...   GameMaker Studio 2.3 playlist:    • GameMaker: New & Beta Features   GameMaker 3D playlist:    • 3D in Game Maker Studio 2   0:00 Introduction 0:44 Project setup 1:49 Preliminary knowledge 2:59 Setting up the surfaces 4:39 The different Draw Events 6:08 Filling the lighting surfaces 8:58 Punching holes with bm_subtract 14:40 Fine-tuning the lighting effects 22:17 A bit of subtractive blending math 23:50 That's all #GameMaker #GameMakerLighting #GameMakerBlendModes - - - - I've now made that Patreon:   / wizardragon   That promised social media link spam.   / dragonitespam   Transition / idle music is by my old friend Kamex:    / greatgabite   Rate, comment, subscribe, watch more, enjoy!