Questions tagged [libgdx] (147)

0
answer

It is better to choose fxgl or libgdx?

Who has experience with the aforesaid engine. It is better to choose? I want to change libgdx to something more kosher, unity does not offer (do not pull the iron). Need engine support 2D-cuisine.
Dariana58 asked March 24th 20 at 10:36
0
answer

Which ads service is better to choose for a game project?

There is a game app for Android (java+libgdx). Prompt, who has experience with ads. You want the ads gave me the opportunity to render the advertising in the wrong place which I will determine, and to treat depression. 1. Which service is better to choose(for several reasons, admob at this stage is not necessary)? To have ...
Genesis.Olson asked March 24th 20 at 10:36
1
answer

How to limit the on-screen keyboard libgdx, numerals and Latin alphabet?

How to limit the on-screen keyboard which causes libgdx (textfield) to the keyboard, you can type only Latin alphabet and numbers.
lucienne.Hoeger asked March 23rd 20 at 19:57
1
answer

(Libgdx)What I need to do to the textfield normally deduced the Cyrillic alphabet?

Using font true type Latin and Cyrillic. In the style of the textfield to set the font and begin the full day. Cyrillic is not displayed, only the Latin. What you need to do to noralno displayed Russian letters?
emanuel asked March 23rd 20 at 19:45
4
answers

Too fast fps. How to make a object slower?

Made a simple project with tylovay mechanics. There is a problem, too many fps, the main game object moves too fast. Googled the Internet and tried to apply the advice to limit fps (falling asleep at the estimated time in the render). Movement speed seems smoother. But it had another more slop problem by limiting the fps sm...
lafayette_Lindgr asked March 21st 20 at 13:44
1
answer

In InputAdapter to set a reference to the class from which it is created?

In a method of the class create BackProcessor InputProcessor = new InputAdapter() { @Override public boolean keyDown(int keycode) { if ((keycode == Input.Keys.ESCAPE) || (keycode == Input.Keys.BACK)) { // Gdx.app.exit(); game.setScreen(new ExitInGame(game,this_up_class)); } return false; } Much tuplu required as a par...
lauriane_Schuster asked March 21st 20 at 13:43
2
answers

Why is the sprite twitches?

Hello! Wrote a function that calculates the coordinates of the sprite, which moves around the circumference. Well, the basic formula x = x0 + R* cos (t*a+a0) y = y0 + R *sin (t*a+a0) The function looks like thispublic void pointDefinition(float delta){ sprite.setPosition(Gdx.graphics.getWidth()/2+(85*(float)Math.cos(i*del...
Ward.Kautz asked March 21st 20 at 11:53
1
answer

Why do I get Nan in the result of the function?

Good day! All the holidays! Write this return in a functionreturn x = (double)Gdx.graphics.getWidth()/2+Math.sqrt((85*85)-(y+(double)Gdx.graphics.getHeight()/2)*(y+(double)Gdx.graphics.getHeight()/2)); In response to receiving Nan Sorry for the stupid question, just generally long blunt with this kind of errors. Cant?
alessandro asked March 21st 20 at 11:46
1
answer

How to handle the touch on the screen in the area of the sprite?

Hi! All those involved in the holidays! There is a class, when you instantiate a collection that contains the sprites. As usual: Declare a variable in the classstatic ArrayList<Sprite> caterpillar; Score designer sprites vooot such a function:private void building(){ //it will score an array of sprites for( int i =...
Hipolito44 asked March 20th 20 at 11:20
1
answer

How to limit your drawing Activity?

Good day! I can't find a clear and concise answer to your question. Not much delved into the nuances of programming for Android, but gugleniya heaps of examples of answer has not given. The point: there is activity on which something is drawn. Want to split this activity into two independent areas. Something to read on this...
darren_McDermo asked March 19th 20 at 19:57