YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
24 stars 8 forks source link

Layer inheritance doesn't work very well #1724

Open galio17 opened 1 year ago

galio17 commented 1 year ago

Description

When I create a child room, I don't necessarily finish the parent room. This is the point of the IDE functionality bug. What is happening is that the addition of items in the layers aren't inherited to their children automatically. To see any updates coming from the parent, you need to remove the inheritance from the layer and re-add However, the worst happens for the tile layer, whose inheritance does not observe block updates, that is, even removing and re-adding the inheritance, nothing happens. Furthermore, removing assets and instances through the layer inspector removes them all without any warning, unlike when you click on the canvas to remove.

Steps To Reproduce

  1. Create a project with 1 rooms, 1 object with sprite and 1 tileset.
  2. Create a child room for the existing one.
  3. Add instance, asset and tile layers.
  4. Add instances, assets and tiles to the canvas in their respective layers.
  5. Go to the child room and notice that in the inspector, the layers have been added.
  6. Open the specific inspector for each layer and see that instances and assets have not been added.
  7. Remove and re-add the inheritance for each layer to see their updates, except for the tile layer.
  8. Go to the parent room.
  9. Open the instance or asset layer and remove one asset/instance from the specific inspector layer.
  10. Return to the child room and see that the item stills there.
  11. Open the respective layer and see the item is just a memory of nothing.
  12. Edit the position of the item to the canvas and see the item disappear

509ae876-e544-4f7a-b961-7782ff68df8c

Emc1923 commented 2 months ago

Issue still present as of IDE v2024.800.0.607 Runtime v2024.800.0.631.

stuckie commented 2 months ago

We currently have a ticket where we are accepting points of view on the inheritance system in general, with a view to potentially replacing it with something else - https://github.com/YoYoGames/GameMaker-Bugs/issues/2923 If this is a feature that is critical to your workflow, please add your views in how you utilise room inheritance and how you would like it to work, or what you'd like to see in it's place.