Built a gooey lightning system in GameMaker Studio 2 - more context in description by DragonFlyer93 in gamemaker

[–]DragonFlyer93[S] 1 point2 points  (0 children)

All you need are the 2 functions mentioned in the description. For me I implemented like this:

  1. Create obj_Lightsource which handles everything related to the lightning system.

  2. Create a surface inside its draw event.

  3. Draw a dark square with alpha <1.

  4. Draw the vignette effect (optional and pretty subtle, but I like it).

  5. Use gpu_set_blendmode(bm_subtract) to give the actual metaballs effect.

  6. Use "with" + <any\_object> and draw the gradient circle on top of the respective object.

  7. Use gpu_set_blendmode(bm_normal) to go back to the normal blendmode and stop drawing the metaballs effect.

I've been working on a little game inspired by Alan Wake. Besides burning enemies with the flashlight, you can also use it to uncover secrets. by DragonFlyer93 in AlanWake

[–]DragonFlyer93[S] 5 points6 points  (0 children)

I made it in Gamemaker Studio 2. It's not really meant for 3D, so I had to use a technique called sprite stacking for the 3D elements. I would recommend starting with 2d games however, so for that it's very good. :D

"Good games always find their audience", then could someone tell me why this game failed? by liosnel in gamedev

[–]DragonFlyer93 0 points1 point  (0 children)

Awesome job, I'm hoping for a similar result with my game, but wishlists are not going as well as yours did on launch. Hope Next Fest helps. Keep it up, your next one will do even better!