Hot answers tagged

1

It's a bit vague what you want to do and what you have. But this should help: Vector3 pos = new Vector3(); Matrix4 nodeTransform = new Matrix4(); nodeTransform.setToTranslation(2, 4, 0).rotate(Vector3.Z, 180f); nodeTransform.getTranslation(pos); Gdx.app.log("Node pos", pos.toString()); Matrix4 modelTransform = new Matrix4(); ...


1

Create the menu in one Activity, and let that Activity be a "normal" Android activity, then have that Activity launch the libGDX game Activity. That sort of approach would allow you to use Android layouts for the menu but libGDX for the actual game.


1

I think you mean just the look of the button? You need to do that in your favorite bitmap or vector app like Photoshop, Paint.net, Graphicsgale, etc. Search something like glossy button tutorial to learn how to make a nice looking button. Make a up, down and disabled state if you desire and set them as drawables to the corresponding "slots" for the button. ...


1

Do not just set font and fontColor, also set the properties that make up the vidual appearance such as up, down and checked etc. They take Drawable and will allow you to use any image to represent your button.



Only top voted, non community-wiki answers of a minimum length are eligible