How Does 2D Game Lighting Work? | GameMaker

  Рет қаралды 12,168

GameMaker

GameMaker

Күн бұрын

Пікірлер: 27
@glebtsereteli5631
@glebtsereteli5631 2 жыл бұрын
There is a beefy memory leak issue here - you're creating a new ds_grid every frame without ever destroying it.
@LeonacYT
@LeonacYT Жыл бұрын
as of today this was not fixed.
@LeonacYT
@LeonacYT Жыл бұрын
declare a "grid" on CREATE like this: grid = ds_grid_create(2, ds_list_size(points) * 3). On STEP Event: if (!ds_exists(grid, ds_type_grid)) { grid = ds_grid_create(2, ds_list_size(points) * 3); } On POST-DRAW event: if (ds_exists(grid, ds_type_grid)) { ds_grid_destroy(grid) }
@frogleap9316
@frogleap9316 Жыл бұрын
@@LeonacYT this dosen`"t work for me : i get : .points(100030, -2147483648) not set before reading it. - grid = ds_grid_create(2, ds_list_size(points) * 3);
@Mk2kRaven
@Mk2kRaven Жыл бұрын
This is an amazing video. It teaches you very easily the theory behind making a lighting system. I don't think anyone has ever explained it this in-depth.
@GameMakerEngine
@GameMakerEngine 2 жыл бұрын
A big thank you to Jordan Guillou for making the video. GameMaker is everything you need to take your idea from concept to finished game. With no barriers to entry and powerful functionality, GameMaker is the ultimate 2D development engine! Try out making your own game. It takes 15 minutes and you’ll only need this video: kzbin.info/www/bejne/pKjPp4djgZ6pfMk, and a free copy of GameMaker: opr.as/DownloadGM-YT
@persian-badansaz
@persian-badansaz 2 жыл бұрын
Sorry one question can I make a game like fallout 2 in game maker or I should try another engines
@Deer_Paradise
@Deer_Paradise 2 жыл бұрын
*Thx for lesson and file* 😌🙏
@unlisted_games2752
@unlisted_games2752 Жыл бұрын
How about triangle shaped lighting?
@frogleap9316
@frogleap9316 Жыл бұрын
It works fine, i have a issue with my objects that are not visible in the shadow or when i switch the layer are not visible in the light i need it in revers any help ? I would be grate full, We cast light so if the light is above a obj so the Obj is no longer visible how can we make that work ? I am a total Noob but i want to get my lighting right.
@jaymesthelionboy7156
@jaymesthelionboy7156 2 жыл бұрын
can you help me in game maker I made a 16 by 16 tile set but the pixels were small so I resized and it looked bad
@jaymesthelionboy7156
@jaymesthelionboy7156 2 жыл бұрын
I need help anyone
@jaymesthelionboy7156
@jaymesthelionboy7156 2 жыл бұрын
I'm new to game maker
@jackp492
@jackp492 2 жыл бұрын
@@jaymesthelionboy7156 you’ll have to start again unfortunately, Have a think about the resolution your game will be played in, and how many tiles will fit on the screen at any given time, and that will be a start of how you scale everything to look, hope that helps
@1upIndie
@1upIndie 2 жыл бұрын
Good video, the content provided does lead to a really decend result. But (as stated) for big rooms with tons of instances/light sources you will have a substantial drop in performance. There is a shader based version that goes in a similar direction that does not have to be a resource drain (please hire this guy). Hopefully one day the other guys from (yes, I am looking at you Unity, Godot or Unreal) won't laugh at our puny light systems and call us brothers in arms with our own instant light system integrated in GameMaker. One day... Great video tutorial in any way, that was a really well crafted explanation of such an advanced topic. kzbin.info/www/bejne/eJnRcpaEhd6ar8k
@reedrehg
@reedrehg 2 жыл бұрын
One day 🤞
@doublej69
@doublej69 2 жыл бұрын
Thanks for the video. These principles can be applied in shaders that are much more suitable for lightning effects in term of performance.
@scorpiyon_dev
@scorpiyon_dev 2 жыл бұрын
Great video as always!
@carlitos5336
@carlitos5336 2 жыл бұрын
Awesome, thank you!
@EmGi_
@EmGi_ 2 жыл бұрын
Insane tutorial
@andrea.guillou
@andrea.guillou 2 жыл бұрын
Great tutorial
@flaviopsilva_
@flaviopsilva_ 2 жыл бұрын
thx for the video😃
@online.python.dersim
@online.python.dersim 8 ай бұрын
Great video thanks
@MaverickMerza
@MaverickMerza Жыл бұрын
Make a tutorial in DnD version too pls.
@Legend-War
@Legend-War 2 жыл бұрын
hello, I saw that you are doing well with gamemaker, I also have a problem: I play a game with coins and I save mechanically in room 1 when I enter room 2 where the action of the game takes place, when I return to the end of the game in room 1 it does not save my coins won in the game, this is because it saves in room 1, I don't know how to save only the points and be able to see them in room 1 after the game! I can't save after the game because it stays in room 2, can you help me with a solution? I don't know if you can help me! Thanks in advance! look here what I'm talking about kzbin.info/www/bejne/fZDUqWNvo7Bnbbc
@77.corrupter.77
@77.corrupter.77 Жыл бұрын
it didn't work😔
@GameMakerEngine
@GameMakerEngine Жыл бұрын
:( Try the forum, people are often able to help there, or check your work. forum.gamemaker.io
How to Code an Inventory System
23:16
GameMaker
Рет қаралды 18 М.
Fast GRASS Tutorial -- GameMaker Studio 2 (Vertex Buffers for Beginners)
12:54
GameMakerStation - Matharoo
Рет қаралды 32 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
distrust 2: the cooler edition FULL GAME (no deaths)
33:50
a random person
Рет қаралды 47
How Lighting (Basically) Works in Games
8:32
TheHappieCat
Рет қаралды 82 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Variable Jump Height in GameMaker Studio
9:35
GameMaker Casts
Рет қаралды 5 М.
Fastest 2D Dynamic Lighting System in GMS2
6:25
GrizzliusMaximus Games
Рет қаралды 36 М.
How To Move And Collide In Platformers | GameMaker
8:46
GameMaker
Рет қаралды 21 М.
Simple Lighting System in GameMaker Studio 2
16:18
GameMaker Casts
Рет қаралды 20 М.
Making a difficult game about fitting in - Acerola Jam 0
19:17
jess::codes
Рет қаралды 470 М.
Why Isometric? | Art, Code and Matrix Maths | A Devlog
13:33
Wintermute Digital
Рет қаралды 218 М.
What does a Game Engine actually do?
16:45
Ellie Rasmussen
Рет қаралды 174 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН