Jump to content
  • Advertisement
Sign in to follow this  

2D: Procedurallly Generated Lightning [upadeted]

This topic is 908 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi folks!


Im new to this forum. I was trying to figure out a good method to create lightning and shock effects with code in game maker studio.

I tried to translate some c++ tutorials into the game maker language but didnt have so much success. The most promising so far is my adaptation of a neat script by YellowAfterlife.

Here is the result so far:




i still have a couple of ideas to improve the effect so it should be work in progress.


Would be nice to know what you think of it!




Hello There!

The effect i created has slightly evolved now.

Part 2 creates litte shocks on these environmental block objects.

Part 3 is the final version for the time being. It is a shock effect on the player ship caused by enemy ion-cannons.


Any feedback is hugely appreciated. ;)


Part 2:


Part 3:

Edited by Ratatosque

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!