lightning

  1. S

    Lightning-like effect in Game Maker using ONLY sprites not drawing lines?

    I'm trying to do a Lightning effect, but I've only seen tutorials using it with drawing lines and not sprites. I'm also guessing this would be very hard to code since you would need to make the code the best you could possibly do, since I think that it's going to be hard to give the code a...
  2. Bryan112

    SOLVED Topdown Grid-based lightning system.

    Hey everyone! This is my first time on this forum! Hope you guys are doing well during this pandemic. It gave me the time i need to create a game i always wanted. I'm fairly advanced with GMS2, allthough iv'e run into a problem. Perhaps you guys can help me out. What i want to achieve: Like the...
  3. D

    Game Mechanics Ball Lightning Spell - Feedback appreciated

    Hello, guys! I've been messing around with a new spell kind for a game I'm currently developing and I'd like some feedback. It is a ball lightning spell. Don't mind the character casting animation, since that is actually the attack animation, not the cast animation (the cast animation is not...
  4. N

    SOLVED Please delete, did it an entirely different way

    I am trying to find (or write) a script or some code to make an asset layer flash like lightning. I'll be putting white squares outside windows of the stage, so I'd like to turn the opacity of the layer either on/off or real fast slide of the opacity scale to simulate lightning flashes. My...
  5. M

    Legacy GM Help With a Script

    I'm trying to make a chain lighting attack, by making the "bullet" jumping to the next target (max 3), but I think I'm making in the bad way. Here is the script in the bullet //Create target = ds_list_create(); ds_list_add(bersagli, "obj_enemy"); ds_list_add(bersagli, "obj_enemy")...
  6. JeanSwamp

    Lightning Modifying Tiles/Objects

    Hello guys! I'm curious about lightning systems as there are multiple ways to do it. I'm currently drawing a black rectangle on top and substracting with blendmodes for that, which I think is the common and easy way. But this creates a very smooth lightning that doesn't work very good on not...
  7. W

    GameMaker Lightning System doesn't work since runtime 2.2.x

    Hello everyone My lightning system seems to stop working when I'm above runtime 2.1.5. ///////////////////// CREATE /////////////////// lightsurface = noone; darknesscol[0] = c_black; darknesscol[1] = c_black; darknesscol[2] = c_black; darknesscol[3] = c_black; ///////////////////// STEP...
  8. K

    Trying to do day and night circle with lights

    I looked trough all those tutorials, but I could not find any that were for Game Maker Studio 2 and/or worked. The changing of the alpha works just fine, but there is absolutely no object lightsource that has a Glow on it. The Glow just won't show up. I tried all the different blend modes, but...
  9. A

    Graphics Drawing lightning in your game

    Screenshot from my game. GM Version: GameMaker: Studio Target Platform: All Download: New download here, fixed one error with a non-existant script. Links: N/A Summary: Ever wanted to draw kick-ass lightning in your game but aren't the artsy type? Generate it! With this simple script you can...
Top