raeleus / skin-composer

Create skins for LibGDX scene2d.ui with a graphical interface.
MIT License
427 stars 34 forks source link

I can not export Tinted Drawable #109

Closed j-shin closed 2 years ago

j-shin commented 2 years ago

I've load image file for creating a drawable. Then i've created new tinted drawable by loaded image I can use tinted drawable on the preview of skin composer But it couldn't export. home_menu_btntest is the tinted drawable TintedDrawable is not existing atlas and png How can export tinted drawable? skin composer version is 45

Drawable

image

Preview

exported json

{
com.badlogic.gdx.scenes.scene2d.ui.ImageButton$ImageButtonStyle: {
    default: {
        up: home_menu_btn
        down: home_menu_btntest
    }
}
}

exported atlas

test.png
size: 256, 256
format: RGBA8888
filter: Linear, Linear
repeat: none
home_menu_btn
  rotate: false
  xy: 1, 1
  size: 105, 142
  split: 30, 30, 30, 38
  pad: 30, 30, 22, 30
  orig: 105, 142
  offset: 0, 0
  index: -1

exported png

test

raeleus commented 2 years ago

This will be resolved with the next version.