1. H

    Using Primitives to make a Lighting System which shows the first visible wall--

    I followed that one tutorial ( to achieve a dynamic lighting system in my top-down game (which was a pain, because the article refuses to load, and I had to find an archive of it. Do y'all know why they took...
  2. A

    How do I get shaders to appear in every room my sprite is in?

    Hello everyone, I recently figured out how to implement dynamic lighting in my game. I followed a tutorial and the lights appear to be working fine in one room, but don't appear at all in the others. How can I fix this? Here is a video demonstrating my issue:
  3. Papa Doge

    SOLVED Simple light effect

    I'm attempting to add a simple light effect to my game where certain objects have a light radius around them when the world is dark. I have the surface drawing correctly with the dark overlay but my light punch outs don't seem to be working. I've create an object called obj_lighting_render to...
  4. TheCheeseMaster

    GMS 2 [Solved] Trying to obscure lights in a top-down game (i.e. lights that appear to have depth)

    Hi everyone, I'm working on a top down perspective game that has a day/night cycle. I've got some lights in the game, and am using the blendmode bm_add when drawing them on the night sky surface (night_cycle_surf). After the lights are drawn, the surface is drawn over the player's view and all...
  5. ouzzgame

    Simulate a light effect around a sprite (player, fire, explosion...).

    GM Version: 2 Target Platform: all Download: N/A Links: Hi all! This is a quick little tutorial about a visual effect that I like very much... This light effect is a kind of hole into a dark surface over layers...
  6. N

    SOLVED Surface with shaders displaying blank window

    Greetings developers! Recently I was playing with surfaces and shaders and I've managed to create (by following some tutorials) a simple lighting system with some shaders. It worked perfectly on my demo project but when I tried to apply it to my main project it didnt work at all... I don't...
  7. R

    Question - Code Please, help with light system

    I want to create a lighting system in 3/4 view, as well as with a map of normals and heights. But my level in Open GL is enough only for working with colors and textures. And lighting systems like "fast light" and "light system 2d" are not suitable, because they are either for the platformer or...
  8. Zabicka

    GMS 2 Is there a way to draw a circle with gradient blur?

    Hello, so I wanted to draw a circle with blurred sides, like a light source without the need of using a sprite, is there a beginner friendly way to do it? Instead of this: Something like this:
  9. SeirLord Games

    GMS 2 Tile Shadow Light System

    Hi, I am making a RTS game with... ants, and I was thinking to add some shaders or something to the underground, so it has details and does not seem plain images. So I thought about lights, I like the light used in the game called Empire of the Undergrowth, but is a 3D game. The underground...
  10. FoufaDjo

    GMS 2 how can i put a glowing outline for sprites

    i have a explosion sprite that i want to have on it a glowing outline for that it can be seen clearly on dark places can u show me some ways to how to do that pls :)
  11. P

    Help using subrtract blendmode on surfaces

    Hey everyone, I've created a surface which is dark blue, and signifies the night time. As you can see in my example, I have several lights placed, and a light around the player. I'd like those lights to punch a hole in the surface. Here's the code for my surface draw: if...
  12. M

    Game closes when trying to draw a surface

    I did a light system some weeks ago, and it worked, now that i changed my pc, game closes when i try to draw a surface, it doesn't even give a error log
  13. B

    Graphics Celeste-like lighting engine!

    GM Version: GMS2 Target Platform: ALL Download: N/A Links: Summary: Hi, Here a little Lighting Engine that i made on GMS 2. It's not very impressive, but it can make a good job. It is based on the Mike Dailly tutorial for shadow projection...
  14. K

    Windows More realistic lighting

    Current My Game Lighting : gif - Currently, the lights are on the player's head. However, fixed lighting is required. Also, I would like to change the angle of illumination with time. like real sunlight The room is very huge. view size is 960,540 and view hsp = 10 ...
  15. JeanSwamp

    GMS 2 Soft Light / Fog / Enviroment

    Hello, I've been trying to gather information about how to create some soft lighting since all the information about lighting systems basically were pretty rough and not blending smoothly. I'm basically looking to create enviroment scenes from soft lighting, maybe fog and stuff like that...
  16. lukbebalduke

    Released Lamparina [GGJ 2019]

    Everything within the range of light, gains life. Everything else, turns to stone. Lamparina is a top-down puzzle game, where you open magic doors by adjusting the projection of light and solving enigmatic challenges! Lamparina was created in less than 40 hours, for the Global Game Jam...
  17. lukbebalduke

    Asset - Graphics Professional 2D Light System

    Hey folks, how you doing? I would like to share with you my newly published asset, Ultimate Light Engine, a powerful, fast and easy to use 2D Light system that can be implemented in your game - it can be a platformer, a top-down game, a puzzle or any type of game. This asset allows you to...
  18. T

    Graphics Exciting Environment

    GM Version: 1.4 Target Platform: ALL Download: N/A Links: see videos below Summary: A quick tutorial of a series on how to achieve a nice game feel by adding simple environment elements to your game. I was developing a melee tutorial and funny enough, I didn't like how unexpressive the...
  19. Tails1000

    [SOLVED] Changing the color of lights

    I hit a hiccup in my lighting engine, as I can't figure out how to create different colored lights. I've tried several different blend modes with no luck. My goal is to create something that looks like this: But right now I'm only able to make white light, not orange. Here is a pic of my...
  20. zendraw

    Game Mechanics [Discussion]Collision codes

    so recently ive wrote a collision code that i find most functional and light then anything ive seen. Collision code that deals with instances and is not grid based, thus giving you maximum freedom of usage. this is the code var ins=instance_place(x+x_speed, y, o_block); if...