pandora icon indicating copy to clipboard operation
pandora copied to clipboard

[WIP] Adds texture2d stub property

Open imothee opened this issue 1 year ago • 2 comments
trafficstars

Description

Adds a texture2d property to Pandora that properly handles serializing AtlasTextures (since the default resource type requires a resource to exist on disk whereas this can re-use a spritesheet path and a region).

Addressed issues

Could not save AtlasTextures accurately.

Screenshots

Shows the added icon to the property bar Screenshot 2024-02-29 at 1 44 28 PM

Shows the default dropdown resource picker Screenshot 2024-02-29 at 1 44 46 PM

Shows dragging an existing Texture2D in from another template resource Screenshot 2024-02-29 at 1 45 06 PM

imothee avatar Feb 29 '24 21:02 imothee

@imothee any progress on this? The tests are failing. Btw, you only gotta support Godot 4.2 onwards, no need any longer to remain backwards compatible with Godot 4.0/4.1

bitbrain avatar Jun 22 '24 19:06 bitbrain

I hadn't spent any time on this since I was waiting/chatting in the Godot discord about if/when they'd expose the texture selector to general scripting. I'm in Australia travelling so I'm a bit behind but I can take a look at this when I'm back home and see where things are

imothee avatar Jul 08 '24 00:07 imothee