• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

subtract

  1. 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...
  2. T

    Legacy GM How to subtract area's of image? Using blending or shaders

    Hi. SHORT VERSION: How do I set a specific colour in a surface to be transparent? LONG VERSION: I am trying to learn how to use the blend subtract function, and have got a bit stuck. The aim is to have an area of the screen which is transparent, so a layer behind it can be seen. Ultimately it...
  3. I

    GML Visual [Solved]Adding global variables to local variables

    Hello all. I'm hoping someone can reveal the proper method of what I thought was a simple task. So I set up a local variable in an event, and I have a global event in another. I would like to add them together, or for the variable to take into account the current global variable. In the local...
  4. T

    Legacy GM Adding and Subtracting Surfaces

    I've been trying to figure out how to use blend modes in a lighting system for a while, but I always end up getting helplessly lost. So here is what I am trying to do: I have 3 960 by 960 surfaces. I use draw_set_colour_write_enable(false, false, false, true) before I draw to these surfaces, so...
Top