alpha

  1. E

    Windows Stellar Plane (RTS)

    This is a playable RTS game on the game maker engine, i personally created this game in about 20 hours (using some of my pre-existing codes) you play as the yellow ships and left drag your mouse to select and deselect ships. your enemies are the white ships, be warned the enemy battleships pack...
  2. Ronchon

    Legacy GM Drawing without affecting a surface's alpha

    Hello! I've been stuck for hours with this stupid problem: Let's say i have a surface with a circle in it, on a transparent background. I'm trying to draw something semi-transparent on top of it , lets say a red circle of 50% transparency, without affecting the background's alpha, resulting...
  3. Wuzzems

    Legacy GM [SOLVED] Transition

    I have an object whose image_alpha I want to gradually increase and then go to the next room. Here's the code that I've made for it. I'm referencing it from another object though. if (mouse_check_button_released(mb_left)) && (mouse_x > (room_width/2)-64 && mouse_x < (room_width/2)+64) &&...
  4. H

    GMS 2 Drawing with alpha onto surfaces

    So I'm trying to draw an inventory using a surface, so I can easily manipulate how the whole inventory is drawn, I'm doing this by drawing the green slots onto the surface first, then the items, and then the numbers. Some of the items' sprites being drawn on have transparent sections. While the...
  5. Nathan Laing

    Shaders Mix two textures, Tex B over Tex A with transparency

    G'day all, I've been mixing all night for the past week. Just can't get this done--would love a hint! I am passing in two textures to a shader. They each get various calculations along the way, but at the end I get the desired textureA and textureB as separate vec4s. Without disturbing the...
  6. Jeremy Roberts

    Deeper into Space

    Deeper into Space Deeper into Space is a 2D space shooter with rogue-like elements. The objective of the game is to jump from system to system and survive as long as you can, facing increasingly more dangerous enemies. Features: - Randomly generated systems - Randomly generated planets -...
  7. Ayziak

    GMS 2 How to set tile depth and alpha in GMS2...?

    So I'm hoping to be able to set tile alpha dynamically in game. However in GMS2, functions like tile_set_alpha and tile_set_depth have been removed/changed, and I can't seem to find any info on how to do it now in the documentation. Anyone know? Either way, thanks for reading. P.S. My end goal...
  8. Gizmo199

    Alpha fade for arrays?

    So I wasn't sure exactly how to phrase the subject, but basically I am using paths to create 'Tails' for health objects. Here is what I have thus far for the coding: As you can see right now I just have all of the lines fade with the actual objects image alpha. So that is how I am...
  9. E

    Windows Dark Crypt -- Equipped with only a lantern

    Dark Crypt This game is all about exploring and getting through the puzzles. Right now there is a tutorial level, and the first five levels. All you are equipped with is a lantern, which you are always trying to refill. Most actions that you do will lessen the light emitted. I'd love to hear...
  10. Goldoche

    [Solved] How do you draw overlapping shapes at <1 alpha without the alpha value stacking?

    I'm drawing a bunch of triangles on a surface at 0.7 alpha. Right now, if the triangles overlap it will create a darker value on the screen. However, I want all the shadows to be uniform in value on the screen. How would you do that? Screenshot: if (surface_exists(other.surface)) {...
  11. U

    Alpha Grab&Run

    Grab&Run (Come back later)
  12. G

    Shadow Blend Modes

    I am currently trying to add shadows to my game which are drawn using triangle strip primitives from the corners of boxes which cast shadows. This system is working well, however as I want the shadows to be 'see through' I am drawing these as black but with 0.3 alpha, this creates problems where...
  13. Bee

    Make player fade out to indicate he can't be hit

    Hello all, I have coded it so the player can't be hit immediately again after being hit. I'd like to draw him as faded out during that time. I tried putting this in the Draw Event using the canHit variable I created (will be false for a certain period of time if he can't be hit): if (!canHit)...
  14. M

    Alpha "You are the wrong hero"

    I am making a game now. It's not even 1% complete because i just started making it. My skillz:cool: 1-100 sprites:2 Programming:1 Level Design:1 for now Ai: 1 Audio:? gameplay: 5 Story: 50/50 Download: soon I would appreciate the help. Oh and i'm working on my logo. -:banana: Mattz...
  15. D

    Released Erin: The Last Aos Sí

    Hi guys, I've been working on my first game for quite some time now and it's finally in somewhat presentable state. The goal was to create a mobile game that can be played in short bursts, that would make a good use of touch input and require at least two brain cells. Any feedback would be...
  16. artcadev

    Alpha My Cat Revenge - 2D Platformer Puzzle Shooter

    /// MY CAT REVENGE \\\ 2D Platformer Puzzle Shooter, inspired own our daily challenges and experiences with our cat, but now turning from a uncontrollable joke that became game form with the initial concept of "Rescuing my girlfriend from the devilish claws of my handsome cat." The game...
  17. CedSharp

    Asset - Scripts TTE - Looking for Alpha Testers

    TTE, Tag Textbox Engine, is the asset I will be releasing soon. ( the asset is still in development ) But before releasing it, I wish to get rid of as many bugs as possible. If you wonder what TTE is, you can go check CTB - Ced's Textbox on the market place. TTE is basically the CTB asset...
  18. D

    Legacy GM HELP Decreasing Text Alpha Decreases Other Image Alphas Too

    Hey everyone, I'm trying to get text from a collision event to disappear. In an enemy object with a collision of a bullet I have the code: instance_create(x,y,obj_pointsAdded); In my obj_pointAdded I have the following code in my Create event: alpha = 1; Step Event: alpha = alpha - .01; x...
  19. T

    Alpha blending between two surfaces problem. Help appreciated.

    Hi all, this is my first time ever posting on the forums. :D Before I get to the point, I am aware of the issue explained in this blog about alpha on surfaces: http://www.yoyogames.com/blog/60 I have searched many other websites and forums to see if anything would work for me, things about...
  20. 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