Slide the popup in libgdx not work -


I am trying to develop a libgdx game. I want to apply a selection screen. So far I've implemented a horizontal scrollpan and it's working fine. Now I want to apply scrolling when I click on the button. You can see the attached image Enter image details here

< Try to use Jason Pack

This works for me:

  _skin 

= New skin (); Texture Atas Button Atla = New Texture Atla ("Picture / Button. Pack"); _skin.addRegions (buttonAtlas); _textButtonStyle = new TextButtonStyle (); _textButtonStyle.font = _game.getFont (); _textButtonStyle.up = _skin.getDrawable ("button-orange"); _textButtonStyle.down = _skin.getDrawable ("button-blue");

buttons.pack:

  buttons.png Size: 234195 Format: RGBA8888 Filter: Closest, Closest Repeat: Any button-orange rotate: False xy: 0, 0 Size: 236, 67 Split: 25, 25, 14, 14 Origin: 236, 67 Offset: 0, 0 Index: -1 Button-Blue Rotate: Wrong xy: 0, 67 Size: 236, 67 Split: 25, 25, 14, 14 Origin: 236, 67 Offset: 0, 0 Index: -1 Button-Naval Rotation: False XY: 0, 134 Size: 236, 67 Split: 25, 25, 14, 14 Original: 236, 67 offset: 0, 0 index: -1  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -