Most voted "libgdx" questions
13 questions
Sort by count of
-
3
votes1
answer84
viewsHow to rescue a variable from an Actor in Libgdx?
I have the following Actor: public class Carta extends Actor { Sprite sprite; public static int val, pos, peso; Texture texture; public Carta(int valor, int posicao) { val = valor; pos = posicao;…
-
1
votes1
answer150
viewsHow to add Actor on a Screen with Libgdx?
I’m not able to add actors (Actor) on a screen.I want to show an actor in the "Screenmenu" and nothing happens (the actor does not appear), follows me code: Mainclass.java. public class MainClass…
-
1
votes1
answer378
viewsHow to view images with a proportional screen size with libgdx?
How do I display my game images in the size proportional to the device screen size, so that if an image is 1/3 wide of the screen on a 480x800 screen it should also be 1/3 wide on the 320x480 or…
-
0
votes0
answers49
viewsHow to Redeem the Position of a Sprite with Libgdx
I am unable to rescue the position of a Prite. I want to rescue the position of only one Prite as I do? public class Cubos extends Actor { Sprite azul, verde, vermelho, amarelo, cinza; public…
-
0
votes1
answer390
viewsHelp with Libgdx
I want to know how to create an event by tapping an image using Libgdx... I’m trying to start a game and added an image as Play button.
-
0
votes2
answers442
viewsHelp with sounds in Libgdx
I’m using this library for games , and wanted to know how I could do to put sounds to play during the game and with preset time?
-
0
votes1
answer39
viewsIncrease speed during the game
Good evening , I’m with this code and wanted to know how to increase the game speed as time goes by , or using score , thanks https://pastebin.com/mizhi4UW…
-
0
votes1
answer57
viewsApplication Installation Failed
After using for the first time Android Studio on a mobile phone, I could not use the emulator normally. The message appears below. Somebody please help me? "Installation failed with message Failed…
-
0
votes0
answers3
viewserror compiling libgdx project
I’m having a problem with the Compilation, I’m having an error Run Dx task Android dx Dex libs Lib /storage/emulated/0/JavaNIDE/gdx-game/app/ libs/gdx.jar has been dexed with cached file…
-
0
votes1
answer260
viewsHow to move textures using libGdx?
I made this example of code that draws a texture on the user screen: package com.example.myapp; import com.badlogic.gdx.*; import com.badlogic.gdx.graphics.*; import…
-
0
votes0
answers128
viewsAdvertisement Admob appears only once
Hello, can someone help me with this problem? When I run my app on the emulator, the ad appears normally at all times, but when I run it on my mobile the ad appeared only once and did not appear…
-
0
votes0
answers104
viewsGdx Audio Infinite Sound Error
I’m creating a didactic game and when the bird collides with some object the sound happens but is endlessly repeating it, I can’t stop. public class Flappybird extends Applicationadapter { private…
-
-3
votes1
answer192
viewsException in thread "main" java.lang.Illegalargumentexception: Type without superclass: module-info
I created a game with libgdX and runs normally on mobile emulator, but now to generate the key apk it does not generate, I’m wasting a little time with it, someone knows the solution ? Exception in…