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

layer

  1. Mythikkk

    GameMaker Background filling don't work in 2.5D

    Hello. When I made 2.5d using gamemaker's tutorial. I ran into a problem. that the background was not filling in x and y. Can you help me?
  2. Tangerine

    GameMaker How to execute an object's creation code at room start before the creation of all instances?

    What the title says. I have an obj_layer_controller that creates multiple layers in their creation code using: layer_variable = layer_create(depth). Instances from other objects that are placed in the room in their creation code have references to layer_variable of the obj_layer_controller like...
  3. T

    Question - IDE How to use the panorama filter layer?

    That is pretty much the question. Recently I've been moving from GMS 1.4 to GM 2 and the filter layers are a new thing to me. I get how most of them work but I don't understand filters like the "Panorama Background" and "Parallax Background". The one I am focused on is the panorama filter. When...
  4. krill

    GML Clicking one of multiple copied objects

    I have a layer with multiple instance of the same object, and I want to be able to select any individual space. if mouse_check_button_pressed(mb_left) && collision_point(mouse_x, mouse_y, emptyObj, true, false) { layer_set_visible(slot_layer, false)...
  5. G

    GameMaker Background layer made to follow the camera is delayed

    When trying to make a Background layer move and stay exactly the position of the camera, I find that it seems to be delayed, 'sliding' into position when the character is stopped, rather than being at position. Here is my code in the Step event of my game management object. How do I get it to...
  6. G

    GameMaker Background layer x movement delayed

    When trying to make a Background layer move and stay exactly the position of the camera, I find that it seems to be delayed, 'sliding' into position when the character is stopped, rather than being at position. Here is my code in the Step event of my game management object. How do I get it to...
  7. Jasuke

    GML place_empty problems

    when i start my game, 4 tile objects get created the problem is, that for some reason the scanner object blocks the top from being empty so it doesnt create a tile the tile step event looks like this //step if (Slime_blue.x == x && Slime_blue.y == y) { if(place_empty(x + 32,y)==...
  8. Jasuke

    Instance depth in layer

    i have wrote a system, where when the player is ontop of the tile other tiles get created, but how can i hinder the bottom pile from getting overdrawn by the middle one, like in the picture //step if (Slime_blue.x == x && Slime_blue.y == y) { if(place_empty(x + 32,y)== true) {...
  9. Tangerine

    GameMaker How to draw a layer into a surface?

    Hello! I would want to draw the "Instances" layer into a surface. I know it's possible by using the layer begin and end scripts. However the problem is that some instances from that layer create and draw surfaces in their draw events and seems that is not possible to create surfaces after...
  10. E

    Parallax Layer Scrolling

    I am working on an endless runner that moves the room rather than the player. So far I have the ground moving just fine and everything else. My issue that I've come across is getting a layer that I have set for the foreground, to wrap around the room. I already have it moving to the left , but I...
  11. TheOnlyWRT

    GML Getting Object of and Instance

    Hello, I am working on a save/load system for when the player goes from one room to another so that all data is saved upon returning to the previous room. To do this, the majority of my objects are children of a parent object. Instead of looping through each individual object type, is there a...
  12. sercan

    GameMaker gms2 filters lag problem

    i started using filters on layers. but when I use them game starts lagging more and more after every second. after nearly 4 or 5 minutes it becomes almost frozen. the layer i apply contains only few objects. what am I missing? I am just selecting it from menu. same results both on mobile and PC...
  13. G

    Question - IDE Copying And Pasting One Set Of Image Indices To The New Layer Of A Separate Sprite

    I am attempting to copy and paste 224 frames from one sprite index to the new layer of a separate sprite index. I can import a strip but that deletes the content of the sprite to which I want to paste the frames. I also can't seem to import a layered image. Weren't we once able to import .psd...
  14. R

    SOLVED Layers and tiles problem

    Hello, I need help solving an issue after the last update the game creator had. Well, straight to the point: for some reason the tiling system is not working as it should and neither are the layers. Basically when I'm going to use the tiles to draw the floor for example, it's not drawn and I...
  15. Fabiano

    GameMaker Support for Additive animation tracks/layers?

    Hi all, very sleek forum. đź‘Ś I'm a 2D Spine Animator, working on an upcoming narrative adventure game, Chronique des Silencieux (this one). We're setting up the character's animation system and we'll be using animation tracks, or what other engines call layers. After checking the manual, here is...
  16. F

    Large amont tile set managment

    Hello everyone, I am currently working on a small project of game with Game Maker Studio 2 for my girlfriend for our 10 years aniversary. I have extracted all tilesets from Stardew Valley (that means dozen of it!) and use mostly those tilesets. As far as I understand, each tile layer can only...
  17. S

    SOLVED [?] Is there a way to get this object name in the room - GML? (inst_Door2/inst_Door1) - Solved for me with a working solution

    How can I read this Object Name in the red circle to evaluate it in an IF query ? Thanks in advance :) SiriusMonk
  18. E

    SOLVED Filter/Effect Layer greyed out

    Hi guys, I was stoked by the new 2022.5 features and wanted to test the wind effect, but noticed that the filter/effect layer was greyed out. Know what it might be?
  19. B

    Unable to use grayed out Create New Filter/Effect Layer

    I have been following this tutorial on Game Maker Sequences. On 20:50 he mentions to add a new Filter Layer, but my button for Create New Filter/Effect Layer is grayed out and is unclickable. Is there any solution to this? Its not just for this game but any game I open, this button is grayed out
  20. Qlak

    SOLVED Strange problem with Background Layers - Horizontal Movement works not for all layers.

    Hello guys! I would really appreciate some help, I've already spent so many hours on debugging this and now I'm ready to believe that there might be some kind of bug. What I want to do: I have several backgrounds with parallaxable sprites for menu background in my game. I just want them to...
Top