ldtk icon indicating copy to clipboard operation
ldtk copied to clipboard

[Feature Request] Hideable Entities + Entity Fields

Open chosencharacters opened this issue 2 years ago • 4 comments

Hey

I have a specific use case - over the past 6 years a lot of things in my game have been supplanted by newer/better versions (mainly because I used to use Ogmo 2 which didn't have things like entity references built in)

I also completely overhauled the camera so things like FocusArea are no longer needed

Similarly, older entitiy fields using string input and such aren't needed (there were very limited input options in ogmo 2)

However, I still do have levels setup using these old mechanics. What I'd like to do is be able to just hide them so that new entities or new instances of this field are never made/don't clog up the UI but the data is still there on the levels/entities if those entities are clicked on and can be modified. Similar to how layers can be hidden.

chosencharacters avatar May 12 '23 03:05 chosencharacters

Something you could do is to create a separate Entity Layer, make it hidden in list, opacity 0 when inactive, unselectable from other layers, and move all your "archived" entities in there.

You have a button to batch move entities between layers.

deepnight avatar May 12 '23 06:05 deepnight

I still want to see them, I just don't want to make any more of them

On Fri, May 12, 2023 at 2:56 AM Sébastien Bénard @.***> wrote:

Something you could do is to create a separate Entity Layer, make it hidden in list, opacity 0 when inactive, unselectable from other layers, and move all your "archived" entities in there.

You have a button to batch move entities between layers.

— Reply to this email directly, view it on GitHub https://github.com/deepnight/ldtk/issues/918#issuecomment-1545266124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNKA4CZUOL2BR7F5OTDKP3XFXNLBANCNFSM6AAAAAAX662ZQU . You are receiving this because you authored the thread.Message ID: @.***>

chosencharacters avatar May 12 '23 06:05 chosencharacters

You could create an archived tag that you then apply to old entity types. You can exclude it from your main entity layer to hide them from the list.

PoolloverNathan avatar May 24 '23 00:05 PoolloverNathan

Oh, that's a very neat way to use tags 🤔

deepnight avatar May 24 '23 09:05 deepnight