asset layer

  1. A

    GMS 2 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.
  2. rawket

    GMS 2 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
  3. DarthTenebris

    GMS 2 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.
  4. Lady Glitch

    GMS 2 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 {...
  5. hughrock_projects

    GMS 2 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...
  6. 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...
  7. 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...
  8. Jaqueta

    GMS 2 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...