Skip to content
Discussion options

You must be logged in to vote

See the Scene2D documentation. It's the first code snippet in the examples section. You have to set the Scene2DSkin.defaultSkin first in order to use methods without passing your skin explicitly.

init {
  Scene2DSkin.defaultSkin = skin {
    textButton {
      font = BitmapFont()
      fontColor = Color.WHITE
    }
  }
}

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by czyzby
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #92 on December 11, 2020 14:32.