12,629 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
37
views
Struggling to implement different viewports in an application adapter from LibGDX
I've been working on creating a game using libGDX for a few months now, and so far I've successfully implemented the main gameplay loop inside a stage which uses fitviewport, which functions as ...
0
votes
0
answers
69
views
Android Text Prediction for the keyboard in TextField libgdx
If I use a TextField or TextArea, the default keyboard is a number and letter keyboard, but I want to use a hint keyboard. I know that by changing the filter, I can only access the number pad, but I ...
1
vote
1
answer
71
views
LibGDX Shader comes out stretched, if the Viewport world size is not square
First of all, I'm using this library for post-processing in LibGDX: https://github.com/manuelbua/libgdx-contribs
I added a new custom Effect to it by extending Filter and PostProcessorEffect.
It's a ...
0
votes
1
answer
29
views
LibGDX custom actor drawing and origin
I have a custom Actor, that adds skew/shear to Actors. Code is in Kotlin, by the way.
I don't know much about Affine Transforms, so my question is how to add originX and originY to the draw method, or ...
1
vote
1
answer
55
views
How do I specify the parameters correctly in BitmapFont?
I'm creating text for my game using the LibGDX engine. I found the easiest way through BitmapFont, and here's the first implementation that works but is very blurry:
private BitmapFont font;
// Begin ...
0
votes
0
answers
70
views
Game asset changes not updating to running desktop app instance
I'm developing a LibGDX game on Android Studio on a Windows PC. I have all the game assets stored in the game's assets\data folder.
With my old computer (where I was using the same setup), if I had an ...
1
vote
1
answer
36
views
Uppercase and other validations in TextField in LibGDX
In a TextField object in LibGDX I need to validate input characters to transform lowercase to uppercase, and avoid numbers and special chars. How can this be done? Thank you very much.
0
votes
0
answers
93
views
libGDX and Android 15's edge-to-edge enforcement
I'm trying to adapt my libGDX Android app to satisfy Google's new edge-to-edge requirement.
How can I get the size and location of the status bar, navigation bar and cut-outs when using libGDX?
1
vote
1
answer
78
views
Execution fails when run by Lwjgl3Launcher
I've created a new project by using LibGDX liftoff. Everything is okay when I first run the project (i.e. it displays libgdx's logo), but when I test my first animation, the project crashes and this ...
2
votes
1
answer
69
views
How can I query the name of the currently loading asset in LibGDX?
I am using LibGDX's AssetManager like this in my create() method:
ASSETS = new AssetManager();
FileHandle assetHandle = Gdx.files.internal("assets.txt");
String text = assetHandle....
1
vote
1
answer
88
views
Very cryptic error message: Execution error (UnsupportedOperationException)
This is the error:
Execution error (UnsupportedOperationException) at bucket_drops_screen_extension.main_menu.proxy$java.lang.Object$Screen$e6e56cf1/show (REPL:-1).
show
This is my code:
(defn screen
...
0
votes
1
answer
46
views
Libgdx Pool.obtain() returns null Action
sometimes i get NPE when calling flipMotion() inside an Actor:
{
ParallelAction parallel = parallel(...);
parallel.addAction(flipMotion(duration));
addAction(after(parallel));
}
...
0
votes
1
answer
73
views
gradlew clean task failed after upgrading build gradle tools to 8.1.4
I have a problem: gradlew clean task on my android library module failed every time after upgrading android.tools.build:gradle from 7.3.1 to 8.1.4. It gives error:
> java.io.IOException: Unable to ...
0
votes
0
answers
208
views
Google Play Console rejects app release due to old Play Games Services version, for app that doesn't have Play Games Services
I have been developing a LibGDX application and already published (several versions of) it in Google Play store in the past.
I am now trying to create a new release in Play Console, but I'm getting ...
0
votes
0
answers
38
views
Where To Add the Dependency for Android integration for Mixpanel ? I code with AIDE; for Android with Libgdx for android game dev
I code with AIDE code editor, and, you can code non game apps for Android, and game apps; difference being when you select your Template to create; you select Mobile game java/libgdx app template for ...