• 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!

depth

  1. N

    Legacy GM Depth [solved]

    How can I set the depth of one instance? Because my semi-solid-platform (one way platform) appears in front of the other semi solid platforms. See PNG: But I want it as in the room editor: That the 2 bottom platforms are in front of the top one. I knew about the object_set_depth function...
  2. Toxic Tom

    Particle depth not changing

    I've created a particle system and emitted some particles (I've tried this by directly creating the particles and by using an emitter). globalvar particleSystem, bloodParticle, bloodEmitter; particleSystem=part_system_create(); part_system_depth(particleSystem, -1)...
  3. Coded Games

    Persistent rooms change object depth

    So one thing I just noticed is that if I switch away from a persistent room and then switch back to it the depth of some objects get changed. You can see this happening in this video: https://gyazo.com/d92e7fe0d38b8de2fd73c0b36e664508 Do you guys think this is a bug or should I just accept that...
  4. Z

    Depth Problem With Z Axis [SOLVED]

    Hi everyone ! I'm still struggling with my depth system for my top-down game in "fake" 3D. So, here's the situation : I set a z axis for "height" and created several collisions objects for my different levels. (My levels are based on a 32 pix height per "z unity") My depth system's like depth =...
  5. Z

    Several Depth For One Single Object [SOLVED]

    Hi everyone ! Oooook, that one is VERY tricky and I have no idea how to do that but I'm going to try my luck if someone has a solution ! In my game, I have two type of tiles for my graphics. Some ones are flat : The floor, aaaand anything else which is flat and set on the floor. Other ones have...
  6. J

    Maybe culling, maybe mask, maybe depth, maybe draw_...

    ..
  7. 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...
  8. Z

    Layer Depth Assignment From An Object To Another [SOLVED]

    Hi everyone ! I have two objects : - The first one is the one the player controls. Named "PLAYER". - The second one is an object (rather a group of objects) distributed on several layers. Each layer has its own depth and each object from that group take the depth of the layer on which it has...
  9. Vinsane

    Having issues with drawing Ammo Counter (Depth Issue)

    Hi guys! I have an issue going on with drawing some font on top of my background object. The background object has depth set to - depth = -1 I then have an object that draws the score within the room. within the create event the object that draws the score has depth = -100 Under the draw...
  10. M

     Set object's draw order on "instance_create_layer"

    Hello guys! I'm working on a prototype and I've reached a moment where I'd like to create some objects on a Instance Layer. I called "instance_create_layer" and got what I wanted. But since I have more than one thing that will be "dynamically instantiated" I ran into a problem. When calling...
  11. Ghiliam

    Windows Sprite appearing/disappearing with "depth = - y".

    Hi everyone, I'm new of the forum, I hope I'm doing this right. So I'm working on an RPG and I wanted to add some depth in the Overworld. I started using the most simple method of checking wheter the player's Y was higher or lower of the other instances's Y, and then change the instances's depth...
  12. matharoo

    Discussion Built-In Z-Buffer Depth-Sorting In GameMaker Studio 2?

    Since depth = -y is somewhat obsolete now, do you think whether it's a good idea for YYG to make a built-in z-testing-based depth system? For example: the one Ariak made on the YYG blog. It is a great technique, and works well, but it has its limitations, like not being able to use image_alpha...
  13. BerserkMecha

    Isometric Depth and Camera Rotation

    I am making a game that has an isometric perspective and I want to have the camera rotate around the player character. Normally, I would have the depth for each object be -y*x, but as the camera rotates around the player character, that would cause problems with the depth of objects. Does...
  14. JDizzle383

    GameMaker Isometric level editor[SOLVED]

    So I have been trying to figure out a method of creating a "depth detection" system for a level editor. What I mean is I need something like this: from these images: As it is my first time with isometric tiles and I don't know how to deal with depth based on what already exists in the...
  15. Erayd

    Windows Why not 'depth = y * -1' ?

    Exactly as the title says. I keep seeing people say not to use this for x, y and z but I don't quite understand. I'm working on changing how depth works in my game and currently this is what I have as I started the project on the old studio. It has a couple weird issues/quirks, but it generally...
  16. P

    GML depth issue

    so i am making a game with isometric art style.you can place buildings in it. now my problem is that when i have place a building and then a building above it the new building overlapse the old one what looks stupid. so how can i make it that it doesnt do that? i am working in gamemaker 8.0 pro...
  17. M

    Question - IDE Issues with depth (shader)

    hey there! for a shader i'm using 2 objects, one is set to the start (16000) and the other end depth (-16000) however, it always seems to stop at -500 if I go any lower than that, it just stops at -500 again. my game is isometric and so the objects have a depth of -y, meaning I would only be...
  18. cidwel

    Shaders Do shaders respect depth?

    Hi all! Long story short, I have issues with some objects not being rendered above of others objects with more depth. You can check it in this gif: The balls that come to the actor apears below him. This does not happen when I disable the shader. Even the bursts that comes next to the balls...
  19. C

    Gamemaker2 and depth - unpredictable

    I am trying to get a Hex-tiles system to work with Gamemaker2. (Im not using the builtin tile system) my overall system is: base-tiles are drawn all over the 124x124 tile map just as sprites. Then i want to draw location hex tiles on top of those as object instances. The tiles im using are...
  20. Vinsane

    Android Objects not appearing while testing game (DEPTH ISSUE?)

    Hi there, I've been toying around with the android side of Game Maker but I've ran into an issue while testing the build of my game. It seems that certain objects refuse to load correctly, it's almost like there is a depth problem or something. I've noticed that if I perform a cache cleanout...
Top