libgdx Questions

11

Solved

When running my LibGDX desktop project I sometimes get this error: Changes are not tracked, unable determine incremental changes. I've tried using Java 8 and 17. I'm using Gradle 7.4.2. I've tried ...
Sacchariferous asked 8/4, 2022 at 21:8

4

I'am doing simple libgdx game. I have lag (game stop for 0. 5 sec) when i use sound.play() edit this bug apear on android 4.0 on 2.3 everything is running fine. method. I play sound by this code:...
Raffia asked 27/7, 2014 at 18:3

7

I'm trying to setup libgdx for a desktop game and when I try to generate the project I have this error and the build fails. I've the latest versions of Java(13.0.2) and Gradle(6.6), both set as env...
Aorangi asked 20/8, 2020 at 10:43

2

Solved

Im trying to create a background effect like this for my pause menu. My current idea is to take a screenshot on pause, save it, open it, Gaussian blur it, then render it to the screen and render th...
Dayak asked 30/9, 2013 at 1:14

4

How to change size in libgdx-android-desktop? I am confuse on window sizeing and not sure how to solve this problem. So for desktop window i want 500x500 but with android i want full screen so i c...
Chrissychrist asked 12/1, 2014 at 19:19

4

Solved

My question is straightforward. I have some ClickListeners added to an Actor. I want to execute a click event on them programmatically. Something like myActor.performClick();
Skylark asked 16/9, 2014 at 13:51

4

Im trying to get the duration of a Music, in libgdx Im not talking about : getPosition(); What I want is the Duration of the music. (in seconds) Thanks
Slang asked 6/1, 2014 at 2:11

3

Solved

In LibGDX Is there an actor that is animated (takes an Animation) and when added to a Stage animates itself or do you have to implement your own Image class in and animate it yourself?
Bounce asked 17/4, 2013 at 12:8

3

Solved

What is a Delta time in LIBGDX? I read many posts regarding that. To my knowledge, Delta time is, The time gap between previous and current frame delta time will add upto 1 since its the computat...
Vespertilionine asked 27/12, 2015 at 9:16

5

Solved

I'm making a lobby in a multi-player game, which may have any number of players displayed in a table. I have the following code: camera = new OrthographicCamera(WIDTH,HEIGHT); camera.position.set...
Slew asked 1/8, 2013 at 14:41

5

Solved

I'm having the same issue as in this question, but the answers there doesn't solve my problem. I didn't create project by gdxsetup.jar, I just included gdx.jar and gdx-backend-android.jar. I added...
Inkerman asked 16/2, 2014 at 3:6

1

What is the proper way to remove the grey background that covers the entire screen, the recompile button, and the default libGDX load and/or load splash in a HTML build of my game?
Deity asked 6/10, 2015 at 1:45

4

Solved

I'm trying to add an Assets folder to my Android Project in Android Studio 2.1.2. I right click on the project and choose New -> Folder -> Assets Folder. In the project pane on the left, it doesn't...
Custombuilt asked 26/7, 2016 at 13:17

3

Solved

Is there a way to implement antialiasing in LibGDX? My lines are very pixilated.
Brassica asked 13/3, 2016 at 10:45

2

I'm new to java/android so I'm hoping this is a pretty easy thing to solve. I've used libGDX's setup to create a project, which I then imported to Android Studio. I didn't know the Supplier interf...
Storytelling asked 8/12, 2015 at 0:0

3

Solved

When I use a ShapeRenderer, it always comes out pixelated. But if I draw the shape in photoshop with the same dimensions, it's very smooth and clean-looking. My method is just as follows: package...
Microsome asked 21/6, 2014 at 20:52

3

Solved

In my uiskin.json I have this com.badlogic.gdx.graphics.g2d.BitmapFont: { default-font: { file: text/default.fnt } } This is fine for when I have the default.fnt in my text folder in the assets f...
Humperdinck asked 21/7, 2014 at 0:22

10

I'm trying to add gdx-tools.jar to a libGDX project in IntelliJ. The result: Module "android" must not contain source root ".../android/src". The root already belongs to module "android". Thi...
Recriminate asked 19/5, 2014 at 9:56

1

Solved

I would like to daw shapes in a pixelized style. My cirlce currently drawn with shaperenderer renders in real pixels. but i like it to be more pixelized. I played around with camera and viewport ...
Bebop asked 13/3, 2021 at 9:26

14

Solved

I'm trying to add google play services to my libGDX project in IntelliJ Idea. I've followed the setup guide here: https://developers.google.com/android/guides/setup which looks pretty straightforwa...
Oxysalt asked 15/8, 2017 at 12:2

6

Solved

I am trying to make a game with LibGdx. I love it! It is sooo simple and a lot better than JME3 and LWJGL. But trying to package it I am having an error. Here is an image of the gui for Gradle: htt...
Spaceport asked 13/8, 2015 at 13:6

1

I apologize if the question is duplicated, but I can't find any information about this. I know that I can use JUnit to create simple unit tests, but I can't run it on android/iOS devices. If I un...
Geosphere asked 15/2, 2017 at 14:32

3

I'm currently trying to build a Java project using Maven for a libGDX game I'm working on. I think I'm using Java 8 OpenJDK (1.8.0_211) on a Ubuntu 18.04 LTS distribution. The related question debu...
Sitting asked 25/4, 2019 at 10:45

3

Solved

I want to create a button that changes when the user hovers it, or clicking it. I created the following variable Button buttonPlay = new Button(); I don't know what to do now, how to load the i...
Dynamite asked 31/1, 2014 at 19:19

4

Solved

How can I scale a Bitmapfont object in LibGDX? It seems the method setScale is no longer available.
Ous asked 27/4, 2015 at 22:26

© 2022 - 2024 — McMap. All rights reserved.