A game library which enables cross-platform game development in Java, with support for Android development and desktop development. It makes use of OpenGL for portability.
-3
votes
0answers
20 views
How to animate the Tilemap object in Libgdx? [closed]
I am facing problem to animate or move the object(Cell) of Tilemap??? Is there any solution for this???
1
vote
0answers
39 views
sharing preferences between two apps on android with libgdx
I am making an android game with both a demo version and a paid version. I want users who decide to buy the paid version to continue from where they left off, with all their old data and settings.
...
-1
votes
0answers
27 views
LIBGDX Decal touch events
I would like to know how you can get touch events on decals? I have my perspective camera working well with the Gdx.input.setInputProcessor(controller3d);, I would like to be able to pass the ...
0
votes
1answer
49 views
LibGDX Cross Platform Networking
Backstory:
I've been developing a game with LibGDX for the past two years, and I've seen it refactored more times than I remember.
I jumped on the iOS iKVM port as soon as it was released.
But I've ...
1
vote
1answer
31 views
How to attach one sprite to another in LibGDX?
I want to attach one sprite to another so that it is always located at the 'bottom' of the other sprite, regardless of how the main sprite is rotated.
0
votes
1answer
66 views
Deploying GWT application / LibGDX and TextureAtlas problem
I encountered with a little problem. After GWT (and LibGDX) deployment I got an error:
GwtApplication: exception: Couldn't load image '/images/objects.png',
file does not exist Couldn't load ...
1
vote
0answers
35 views
Libgdx sprite rotation (image quality)
This one is probably really simple but I didn't find a solution.
I'm trying to create a widget (speedometer) with libgdx.
For the arrows I'm using the setRotation() function.
But when the image is ...
1
vote
1answer
31 views
LibGdx: How do I combine 2 GestureListener objects from 2 seperate classes into 1 GestureDetector
I'm trying to make 2 separate classes, 1 a VirtualJoystick class and 1 a VirtualButton class. I want to implement a GestureListener class in each, it just seems like good code to do so, but when I go ...
0
votes
2answers
75 views
Vector2 always starts from origin
I am trying to create Vector2 which starts from the players sprite and points towards other point. And I need its starting point to move along with player sprite. But however whatever I do all my ...
-1
votes
1answer
34 views
Sprite never points towards point, only in same direction [closed]
So I have been working for few weeks now on my first learning project with libGDX, and I have this simple game where I fly around ship ( asteroids style ). But however I am facing this problem, where ...
-2
votes
2answers
82 views
touchDragged how to move a sprite [closed]
I have 1 simple sprite on the screen and I'd like to move it with the finger. (not necessarily by putting the finger on it, just anywhere on the screen)
I built the project using gdx-setup-ui.jar ...
-8
votes
0answers
95 views
How can i detect collision using tilemap in libgdx? [closed]
I am trying to detect collision between actor and object but facing problem. If anybody having code of collision detection of tilemap than please post.
-1
votes
0answers
41 views
facebook libgdx, after login go to another screen
i have integrate facebook with libgdx,
at my main class i call facebook dialog and another screen,
and i want after login, it will go to another screen,
if (mFacebook.isSessionValid()) {
...
0
votes
0answers
56 views
fire multiple events in InputListener
I have two Actors on my stage in libgdx and and both have a InputListener. I override the touchDown method and it works fine. My Problem is that when I press my Actor Z and a second later Actor Y only ...
-3
votes
0answers
46 views
Repeat a libgdx background map image [duplicate]
Is there anyway to repeat my map background image so it covers the whole screen no matter how far you go in any direction. Currently I am just using a rather large image of grass, so making anything ...