New answers tagged java
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.
...
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 ...
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 ...
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) ...
Top 50 recent answers are included
Related Tags
java × 3391libgdx × 953
android × 509
lwjgl × 343
opengl × 338
2d × 297
collision-detection × 226
slick × 207
box2d × 122
3d × 100
physics × 99
mathematics × 86
rendering × 86
tilemap × 84
architecture × 81
graphics × 77
movement × 75
sprites × 74
game-loop × 73
minecraft-modding × 72
tiles × 70
game-design × 69
textures × 68
algorithm × 63
swing × 58