New answers tagged

1 vote
Accepted

Drawn enemy random on different position

The idea is to store the information of an enemy into a class instance. Here is the pseudo-code of what I have in mind. I've added pseudo-comments to the pseudo-code to explain what's going on. ...
user avatar
  • 15.3k
1 vote
Accepted

Fade in with stage libgdx doesn't work

Do not call addAction every time in the render method, doing that will cause your Stage to ...
user avatar
  • 4,191
1 vote

Create a transition fade out in libgdx

There are many different ways of achieving this depending on how much control you need over what the fade looks like. If you need very fine-grained control then an option is to render each ...
user avatar
  • 4,191
7 votes
Accepted

LibGDX - My sprite glitches when it moves

It happens because you update the camera's position out of sync with the player's position. In public void render(float delta) ...
user avatar
  • 4,191

Top 50 recent answers are included