Questions tagged as 'libgdx'

0
answers

Error loading a tiledmap when I put a layer of libGDX objects

Hi, I'm doing a game with libGDX but I have a problem, I created a test map with tiled. And everything was perfect for me. Until I wanted to add a layer of objects to make the collisions of the map. After I did that I got this error: Except...
asked by 23.11.2018 / 21:30
0
answers

Move a meter a Body in Libjdx

I have a body of one meter by one meter. With a density of 1. How could the function be applied correctly so that one meter was pushed upwards? I'm trying this, but it's not very accurate If I want to use this function, but I do not kno...
asked by 10.11.2018 / 07:57
0
answers

how to link Android and LibGdx correctly?

In this code I try to show an image on the screen but it is not possible for me <html> <head> <title>Mgame.java</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style typ...
asked by 29.07.2018 / 21:03
1
answer

why when I try to open my game screen in libgdx from android from an activity I get a black screen as an output?

Class that opens from another class "AndroidLauncher extends AndroidAplication" from which this class "screen" is launched. public class Mgame implements ApplicationListener { private SpriteBatch batch; private Texture font; @Override publi...
asked by 29.07.2018 / 21:44
0
answers

how to open a game made in LibGdx from an activity on android?

I created a little game in libGdx for android, now, I would like to know how I can open that game from an activity ?, I could not: (     
asked by 24.07.2018 / 02:28
1
answer

Disappear text in libgdx

Hello everyone I am with android studio and I am trying to make a text appear and disappear .. for now I have this: Container container1 = new Container(textLbl2); container1.setTransform(true); container1.center(); con...
asked by 06.12.2017 / 20:49
0
answers

libGDX does not change the screen color or draw actors from a Screen class

You see, I'm creating a scenario with liBGDX , following a tutorial, in which I want to change the screen color and draw actors, however I can not do any of the 2 things, I can only clean the screen from the method renderde MainGame...
asked by 26.01.2018 / 22:06
0
answers

java.exe finished with non-zero exit value 1 when generating the game apk (libgdx)

It does not allow me to generate the apk of my game, when I try to generate it I get this error:    Error: Execution failed for task ': html: compileGwt'.            Process 'command' C: \ Program Files \ Android \ Android Studio \ jre \ b...
asked by 04.09.2017 / 17:11
0
answers

Problem when using Stage in libgdx-Scene2D

The problem is that I can not place my objects on the screen beyond the middle . When I go up it reaches a limit and they begin to overlap until it is totally hidden. There you see how you eat part of the keypad There it looks...
asked by 06.02.2017 / 16:55