Город МОСКОВСКИЙ
00:24:56

Simple 2D Lighting - GameMaker Tutorial

Аватар
PHP-магия кода
Просмотры:
37
Дата загрузки:
01.12.2023 17:52
Длительность:
00:24:56
Категория:
Видеоигры

Описание

"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-GameMaker-Tutorials/TutorialSimple2DLighting

Surfaces:
https://youtu.be/b53tKAzdHkA
The application surface:
https://youtu.be/-fk10vVZIeA
Blend modes:
https://youtu.be/PTL-eKVo7_4

GameMaker Studio 2.3 playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrfuDcYrTufdpgwoALAczPR2
GameMaker 3D playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrcML9uqHe4fwBVTm650Vy3V

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:
https://www.patreon.com/wizardragon
That promised social media link spam.
https://twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
https://www.youtube.com/user/GreatGabite/about

Rate, comment, subscribe, watch more, enjoy!

Рекомендуемые видео