opacity

  1. Nathan

    GMS 2.3+ Changing the opacity of a Room layer in the room creation code

    I have an instance layer that is only in the beginning of the game that needs to have its opacity adjusted. It contains objects that are elsewhere in the stage, but the object (instances) itself needs to remain at 100% opacity for every other instance it is used in the game, therefor it's...
  2. CodeManu

    GMS 2 Save surface with the "correct" alpha blending

    Hey all! I've been trying to export an surface (via surface_save method) into a .png, but due to how alpha blending works on surfaces it gets tinted (towards black as I'm using draw_clear_alpha(c_black,0) to clear the surface). I know this is the correct behaviour, and that It can be fixed by...
  3. T

    How do I change the opacity of objects that my character walks behind?

    Hello, I've finally got change of depth working for the different objects in my game. Now I want to be able to see through the objects that my character walks behind. I've looked online and couldn't find any tutorials. I am new to GMS2, but my game uses a combination of D&D and coding. If...
  4. Dr_Nomz

    GML [SOLVED] Can infinite sprites cause lag? (changing opacity)

    So I have a code that changes one objects sprite from normal, to transparent. Thing is, is it drawing a NEW sprite every time the code is activated? Or does it delete the first sprite? OR does it just change the current one, instead of drawing a new one? Draw event: if alpha = true{...
  5. H

    Legacy GM How to change opacity on particles?

    Hello! I've been trying to make my own particle system in Game Maker, and everything has been working smoothly until now. For some reason, I can't seem to be able to change the opacity of the particles that are emitted! I've tried adding this line to the particle object's create event...
  6. LucasSchachtMusic

    Legacy GM [SOLVED] Sprite Opacity Problem

    Hey guys! Here's another noob question from me: I have an object, with a sprite that has the image alpha of 80 (in the sprite editor). The sprite is drawn with 255 though... Like it has the full image alpha... I didnt change anything in the draw event or so. can another object affect this one's...
  7. G

    Legacy GM Help! Figuring out math formula

    So, I'm kind of having a math trouble to create a simple effect (let's call it so) in my game. When the player is wearing this x-ray specs, I want a hidden arrow to show up, indicating the path to a secret area. There are two conditions, though: - The player can only see the arrow if he's...
  8. 2

    GMS 2 GMS 2 Setting Tile Opacity and Color Blending in Room Editor

    In GM Studio 2 can we set the opacity, or the color blending of a tile in the room editor? I can't find any way to do this, so has it been removed?
  9. B

    Legacy GM Object opacity depending on distance from another object

    Hello guys, my question is: how do I change opacity of an object (obj_redacted) depending on distance from player (obj_chara). My point is that I want obj_redacted to be fully visible when colliding with it, but slowly less visible when walking away from it.
  10. G

    Legacy GM [SOLVED] Change opacity of an effect?

    I wonder if there is any way to change the opacity of a particle effect on GMS. I'm creating a "smoke up" effect on my game, but it looks too opaque and I wonder if there is any possibility of changing that. The effect is created on an Alarm Event through the following code: if chili == true...
  11. zendraw

    Legacy GM background issue

    why does the background image turn black when i reload my project? im talking about a background with nothing in it, its filled with 0 opacity. in other words its transparent, and how do i fix this?
Top