alpha

  1. JacPete

    Beta Bubble Bob! - Android open beta

    Hello, i just wanted you to show my current WIP title Bubble Bob!, Bubble Bob! is a jump´n´run platformer game where you use bubble spells to bubble your enemies, maybe a bit violent. I dunno how much levels this game will get, but its realy funny developing it, so i think there are coming a lot...
  2. sercan

    Android sprite_create_from_surface problem

    var surf; surf = application_surface; surface_set_target(surf); spr_test = sprite_create_from_surface(surf,0,0,480,800,false,false,0,0); sprite_save(spr_test,0,path); surface_reset_target(); this is the code i use to get a sprite from a created surface. In created sprite, the color pixels which...
  3. R

    Need help with a fade-in/fade-out screen like Zelda OOT

    Title says it all, just trying to imitate the first 6-ish seconds of this video from Ocarina of Time as soon as you start the game: When I start up a game I like the aesthetic of there being a black screen, then fading-in to an opening screen with some minor credits on it, and then...
  4. Anixias

    Legacy GM [SOLVED] Vertex Buffer Transparency

    Hello. I am using vertex buffers and chunks to render an "infinite" randomly-generated world. For my water texture, I include dirt and a transparent floating blue plane above it. When the game submits the vertex buffer, however, it produces the following result: As you can see, the water has a...
  5. Anixias

    Shaders Opaque Shader That Ignores 0.0 Alpha

    I am trying to write a shader that makes all pixels with an alpha > 0 to an alpha of 1, and all pixels with an alpha = 0 will remain at 0. The reason why has to deal with transparency in vertex buffers. Here is what I tried (Fragment), but it doesn't ignore Color.a=0 pixels, which I need it to...
  6. E

    Alpha Very Early Alpha Sanbox Game (Untitled as of yet)

    NOTICE If you are getting the below issue please temporarly disable your antivirus (you can check the file beforehand by right clicking on it.) Proof that it's safe (with one false positive) About me Hi there my name's Tom/Donkey I make GameMaker tutorials and after a lot of hard work I...
  7. Z

     Castle Ambush

    So i made a game last year and worked on it for a week or two but stopped working on it, and decided to share it with you guys, to see what you think about it. Genre: tactical/top-down Controlls: arrow keys- move/turn W- wait A/S weapon 1/ weapon 2 Escape- menu E- use[hold button] F- chess...
  8. Tsa05

    GameMaker Drawing to a surface doesn't work like drawing to screen :(

    Hmmrm, blend mode help? I'm drawing 2 images to a surface, but it messes up. They are png files, a character face and then an alternate expression face: They weren't drawing properly, so I've created a simplified example. Here's my complete example code (drawing event of object_0): var sur =...
  9. David Richard

    Legacy GM Sprite from surface with alpha values

    I have been scratching my head over this little thing. Can someone help me out with this? What I want to do Draw an image with alpha values on a surface, a background part for example. Create a sprite from the surface with the correct background part's alpha values. Use that sprite for specific...
  10. 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...
  11. 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...
  12. W

    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) &&...
  13. H

    GameMaker 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...
  14. 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...
  15. J

    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 -...
  16. A

    GameMaker 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...
  17. 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...
  18. 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...
  19. 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)) {...
  20. U

    Alpha Grab&Run

    Grab&Run (Come back later)
Top