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

asset layer

  1. genorpg

    GameMaker Asset Layer breaking with 3D camera

    Hi all, I've had some problems with the room editor in GMS 2. I'm trying to implement pretty large assets into some asset layers to create parallax background effects. My problem is that the large assets seem to break when I run the game. This is the second time this has happened to me, and...
  2. WasabiHeat

    SOLVED 0 FPS sprites still animating in asset layer

    I use multi-frame sprites on asset layers a lot to decorate my game, but one thing seems to have changed and I'm not sure why. Before, if I set the sprite asset's FPS to 0, it wouldn't animate when I put it on an asset layer, even if the "animation speed" is 1. I assumed this was because it was...
  3. WasabiHeat

    SOLVED Change entire asset layer color

    i've been implementing a simple day-night system into my game, where each object changes their image_blend to make_color_hsv(158,160,180); The backgrounds for my game are stored on an asset layer called FloorSprites, and while it's possible to change the color of each graphic individually in the...
  4. Sam04

    How to access an item in an asset layer?

    So I created a sequence and added it to a room in an asset layer. Now I want to change some stuff in code during runtime... but I do not know how to reference it. Well, mostly it is a question about instance's names. According to the manual, the name can be used to access a specific instance...
  5. A

    GameMaker Destroying sprites form layer

    Hi, I need to destroy sprites called sTree from my asset layer. All 10 of them. Can this be done, if so how? Thanks.
  6. R

    GameMaker Help with sprite change on asset layer

    So in an object I have this code for room start if areas_coastal == "burned" { layer_sprite_change(layer_sprite_get_id("buildings", "spr_diner1"), spr_diner1Burned); } It runs but the sprite doesn't change
  7. D

    GameMaker Asset Layer Equivalent of depth=-y

    Hello everybody, Title says it all, is there an equivalent to an object's depth=-y for asset layers? I'm making a 2.5d-ish game, and sometimes I'd like to let the player walk behind objects, however the asset layers are screwing this up. Thank you for your time.
  8. Lady Glitch

    GameMaker Manipulating with Asset Layer elements using Code

    Is there any way to get / change sprite's coordinates / scale / rotation in Asset Layer using code? Something like: var a = layer_get_all_elements(layer_get_id("AssetLayer")); for (var i = 0; i < array_length_1d(a); i++;) { if layer_get_element_type(a[i]) == layerelementtype_sprite {...
  9. H

    GameMaker Asset Layer Question

    Hello GM community! The usual disclaimer: No clue if this is the right place to post this. Easy question (hopefully): How do I remove / delete a sprite placed in any asset layer within the room editor. I've read through the manual (specifically regarding room editor and asset layer) and...
  10. M

    Question - IDE Having only part of a sprite in an asset layer

    Is there a way to have only part of a sprite's bitmap be displayed in an asset layer of a room, rather than the whole image? Game Maker internally supports this: the archive file format specifies the coordinates within the texture to display for each entry in an asset layer. In fact, this is...
  11. T

    Adding Versatility to Tilesets in GMS 2

    Hello, I'm one of the many people who switched over from GameMaker Studio (GMS) 1.4 to GMS 2. I've been slowly getting used to the changes and have come to enjoy the newest version. However, like many others, I miss some of the features from GMS 1.4. In particular, I want to start a...
  12. J

    GameMaker Changing the Draw order of the Asset Layer

    Hi, I've been dynamically adding sprites to an asset layer, to use it as Decals, the performance was very good from my tests (Over 3000 Sprites and no signs of slow down). But, when I add an Sprite, the sprite is drawn BELOW the sprites added previously, and I haven't found a way to change the...
Top