Questions tagged as 'libgdx'

0
answers

Gdx Audio sound infinite error

I'm creating a didactic game and when the bird collides with some object the sound happens but it gets infinitely repeating it, I can not stop. public class FlappyBird extends ApplicationAdapter { private SpriteBatch batch; private Texture[]...
asked by 20.06.2017 / 23:41
1
answer

How to move textures using libGdx?

I made this code example that draws a texture on the user's screen: package com.example.myapp; import com.badlogic.gdx.*; import com.badlogic.gdx.graphics.*; import com.badlogic.gdx..graphics.g2d.*; public class MyGdxGame implements Applicat...
asked by 28.08.2016 / 15:10
1
answer

Help with LibGdx

I want to know how do I create an event by tapping an image using LibGdx ... I'm trying to start a game and added an image as a Play button.     
asked by 30.05.2016 / 13:37
0
answers

How to rescue the position of a Sprite with Libgdx

I can not redeem the position of a sprite. I want to redeem the position of just a sprite how do I? public class Cubos extends Actor { Sprite azul, verde, vermelho, amarelo, cinza; public Cubos(){ azul = new Sprite(new Texture(Gdx.files....
asked by 19.04.2016 / 01:21
1
answer

Exception in thread "main" java.lang.IllegalArgumentException: Type without superclass: module-info

I created a game with libgdX and it normally runs on the mobile emulator, but now to generate the apk with key it does not generate, I'm wasting a little time on it, does anyone know the solution? Exception in thread "main" java.lang.IllegalAr...
asked by 01.09.2018 / 20:14