Top "Libgdx" questions

LibGDX is an open-source cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux, Mac OS X, Android, iOS and WebGL enabled browsers.

How to resize a sprite in Libgdx?

I have a problem with the method sprite.setSize(float x, float y) in Libgdx. It does not affect the …

java libgdx sprite
LibGdx - Transition between Screens

I'm trying to change the animation between Libgdx Screens. I want to write my custom animation (fade in, fade out, …

screen libgdx
(when adding jar) - Module "android" must not contain source root

I'm trying to add gdx-tools.jar to a libGDX project in IntelliJ. The result: Module "android" must not contain source …

jar intellij-idea libgdx
Scale a Bitmapfont in LibGDX

How can I scale a Bitmapfont object in LibGDX? It seems the method setScale is no longer available.

java android libgdx
Libgdx: Is there an easy way to center text on each axis on a button?

I have been trying to figure out a way to center text on a button, but can't find an easy, …

java libgdx
Get cursor position in LIBGDX

How to get cursor position in libgdx and apply it to sprite? Like this? I want my sprite to have …

java libgdx
Libgdx Box2D setting up an image to a body

i have a problem with setting up an image to a dynamic/static body. i found a flash code about …

box2d libgdx
libgdx difference between sprite and actor

I'm just going through the javadoc and various tutorials on libgdx and I'm at the stage of trying to figure …

sprite libgdx actor
how to drag and drop actors on libgdx scene2d?

I'm developing a game using libGDX and I would like to know how I can drag and drop an Actor. …

java android libgdx
(Java LibGDX) How do I resize my textures in LibGDX?

I have been fooling around with LibGDX for a while now, and wanted to easily port my programs to different …

java android image textures libgdx