masking

  1. Jam373

    SOLVED Surface Masking to create blood splatter on background

    I'm trying to have my blood particle effects paint the background red as they fly across it. I think I've learnt 90% of what I need to do with this great tutorial: http://www.davetech.co.uk/gamemakermasking The problem is that with his example he changes the mask every step (to be a circle...
  2. T

    GameMaker Sprite masks [SOLVED]

    I've been messing around with blendmodes and image manipulation on GMS And I'm trying to create a simple system that makes the part of an overlaying object to be transparent. Here's a rough sketch of what I want I've tried to use blendmodes and "gpu_set_colorwriteenable" but I can't seem to...
  3. M

    GameMaker Math Problem: finding shortest distance from coordinate in mask to edge of that mask

    Hello all, I have been trying to find a math solution to another issue. I think the solution is simple but my geometry is lacking. Any help would be appreciated :) I am simply trying to do a 360 degree check from WITHIN an objects mask to locate the shortest distance to the masks outside edge...
  4. J

    Maybe Culling? Maybe Mask? Maybe Depth? Maybe Draw_...????

    HI Community! My project is hung up on this issue. In the attached image 'You' can see (unfinished) level art, a character sprite (which has movement and animations implemented), an invisible collusion shape (keeping character from walking over things, and finally "my issue." The green...
  5. B

    GML [Solved] Drill transparent hole on top of a fully opaque rectangle

    Hi there, the thing that I'm going to achieve is the hole/window in a fully opaque rectangle covering the entire room. After applying that, I want to see the contents of the room only through this drilled hole/window. All other area should stay covered by the specified color (black for ex.)...
  6. barret232hxc

    [SOLVED] How to draw a circular surface which is set to a view GMS2

    I have made a surface draw a view which is outside of the players current view to see things which farther away, but the shape is square and I'd like it to be a circle shape. I saw you can cut out a circle so I tried using another surface to draw on top of the surface with the view. but it's not...
  7. JAG

    GameMaker Prevent shadows from drawing in air

    Hi there Im making a game with a 3/4 perspective (or whatever you call the perspective super bomberman and LttP use). right now Im working on a floating island kind of thing, which the player can fall off. There is a shadow object being drawn under the player on its own layer; does anyone know...
  8. S

    GML Mask issues with image_yscale

    hey, so im making a shmup and i want one of the shot types to be a thick laser that stops at an enemy. ive figured out i can do this by scaling its yscale, but im having a problem where it seems it doesnt scale the mask too? im not sure what the problem is, ive run countless tests to try and...
  9. RobertRamsay

    Shaders [SOLVED] Shaders... How do I make a mask shader?

    How do I make a shader that treats one of my images as a mask, so that if I have an area of opaque pixels and some areas with transparent pixels multiply into my drawn sprites.? There is 3 elements here: 1) The games backdrop screen with scenery and objects/UI 2) The mask image that matches the...
Top