Tagged Questions
15
votes
2answers
731 views
Graphics not being displayed on OUYA
I hope its not too early to be asking OUYA dev questions, but I just got my dev kit and I want to get my game running ASAP! I am using LibGDX as my framework for my game and launching the Android ...
8
votes
2answers
274 views
How well do functional languages perform on Android?
This is a special case of this question that I feel is particularly pertinent.
I'm working on a game for Android, and I'm planning on using Scala with libgdx. I'm planning on making a performant ...
6
votes
1answer
143 views
How to force a line break before the last word of a line reach the edge?
I'm printing a sliding text by adding each letter after a short period of time. My problem is that when the text multilines, the last word of a line starts on the current line and jumps to the next ...
5
votes
2answers
237 views
Is it legal to pack LibGdx libraries in my jar file? And to obfuscate them?
I'm using LibGDX and deploying a runnable jar file, using the Eclipse feature, with libraries extracted into it. There are also .so files and .dlls inside.
1 . Is it legal to do so? I didn't find ...
5
votes
1answer
1k views
Box2D Difference Between WorldCenter and Position
So this problem has been brothering for a couple of days now. First off, what is the difference between say Body.getWorldCenter() and Body.getPosition(). I heard that WorldCenter might have to do ...
4
votes
4answers
456 views
More efficient in range checking
I am going to use a specific example in my question, but overall it is pretty general. I use java and libgdx.
I have a ship that moves through space. In space there is debris that the ship can ...
4
votes
1answer
669 views
LibGDX - Check if currently on Android/Desktop
I'm using LibGDX and flixel-android to build a Desktop/Android game. It feels like there should be a way of checking to see if you're currently being run on an Android device, the Desktop, and so on, ...
4
votes
4answers
4k views
2D Platformer Collisions
I've basically asked this question before, and I know it's been asked probably a billion times, but I still can't seem to do it. All I want to know is how I should go about doing basic 4-way, ...
4
votes
1answer
583 views
SQLite in libGDX
Does anyone have an example of how I can use SQLite in libGDX? I have a class in my original Android code that allowed me to easily access a database but I can't seem to find anything equivalent to ...
4
votes
1answer
2k views
libGDX Multitouch Controls
Has anyone had any trouble implementing multitouch on-screen controls in libGDX, such as multiple joysticks? I've tried and I can't seem to get libGDX to play nice with multitouch/multiple pointers on ...
4
votes
1answer
3k views
Is libgdx fit for 2D game development on Android or are there simpler alternatives?
I'm looking for a Java framework to develop 2D games on desktop and Android. I've looked at Slick and I really like the API, however the developer himself says if you want a framework for Android and ...
4
votes
0answers
246 views
Isometric - precise screen coordinates to isometric
I'm trying to translate mouse coords to precise isometric coords (I can already find the tile the mouse is over, but I want it to be more precise). I've tried several different methods but I seem to ...
3
votes
2answers
171 views
Bitmap Font Displays in Center Always Without Coding it Manually (Fix Coordinate Problem onText)
Is there a way on how to stay the texts in center without manually coding it or something, especially when making an update? I'm making a display for the highest score. Let's say that the score is 9. ...
3
votes
1answer
112 views
Cut a translucent square in a texture
How to remove (cut-out) a transparent rectangle in a Texture, so that the hole will be translucent.
On Android I would use the Xfermodes approach:
...
3
votes
1answer
321 views
Photon alongside LibGDX
Can anyone point me to a possible implementation of the Photon network engine along with LibGDX for Android? Or any multiplayer networking SDK for all that matters.
From reading source code it ...