A demonstration using surfaces and blendmodes to create lighting effects in GameMaker Studio 2.
First, the lighting information is drawn onto a black surface (where black = transparent and white = opaque) and then blended with the background image using the built-in blendmode function.
- Press SPACE to cycle through draw modes
- Hold LEFT MOUSE and drag to resize light
- Hold RIGHT MOUSE and drag to set ambience
Background image is Deep Forest by aamatniekss
Font is m3x6 by Daniel Linssen
Leave a comment
Log in with itch.io to leave a comment.