light

  1. 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...
  2. 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...
  3. ouzzgame

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

    GM Version: 2 Target Platform: all Download: N/A Links: https://ouzzgame.blogspot.com/2020/06/gmamemaker-studio-2-simulate-light.html 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...
  4. 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...
  5. 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...
  6. 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:
  7. 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...
  8. 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 :)
  9. 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...
  10. Megax60

    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
  11. B

    Graphics Celeste-like lighting engine!

    GM Version: GMS2 Target Platform: ALL Download: N/A Links: https://github.com/bilouw/Gamemaker-Lighting-Engine 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...
  12. K

    Windows More realistic lighting

    Current My Game Lighting : gif - http://naver.me/G6KGwnry 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 ...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. PlayerOne

    GMS 2 [SOLVED + FINAL CODE] When creating a surface... (lighting)

    To make a long story short I followed the lighting tutorial by Talent Lost and I ran into a bit of stumbling block. Everything works as intended but I use large rooms. Since I'm creating surfaces at the start of these rooms to make this lighting system to work by the room width and height...
  20. C

    Using Particles with Blend Layer Effects Possible?

    Hey Everyone, My partner was asking me if it's possible to use layer blending like how there is in photoshop to create the light effect demonstrated with the right candlelight. The left is without blending As far as I know, there isn't a layer blending option in the room editor and I said...
Top