🔴 Dynamic lightning [Game Maker Studio 2 | Vfx]
This visual effects tutorial shows you how to make a lightning effect in gamemaker studio.
Is it difficult to understand? Yes it is.
But you can simply use the whole project or local import to use it right away.
The idea behind this is quite easy. You have a draw event that can be customized to create colored branches that form a lightning with a single script. There you can decide the start and endpoint of the whole draw event, a min and max value how long a branch can be aswell a min and max value how big the zig zag can be. And last but not least what color overlay the lightning should have.
The loop inside the script is build that it stops/breaks when the combinded length of the branches reach the lenght between the start and the endpoint.
Project and local import here:
https://www.patreon.com/posts/youtube-project-34808004
Original source code found here:
https://yal.cc/gamemaker-lightning-between-points/
Valeria the priestess found here:
https://www.youtube.com/channel/UC--BuvjesA39JuN4cZ5gxug
Ligthning image used in thumb: Calinou CC0
https://opengameart.org/content/lightning-animation
▶ Gamemaker Studio: https://www.yoyogames.com/get
▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations
♥ My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
♥ My assets:
Get some assets at itch.io https://1up-indie2.itch.io/
♥ Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
https://www.instagram.com/1upindie
https://twitter.com/1upIndie
https://discord.gg/gvr98nb