Skip to content

Tag: libgdx

Planets won’t render when using for-loop in libgdx

I am running an N-body simulation (testing with three planets at first) and it appears when I use a for-loop to do so, all of the planets don’t render and while debugging i found out they don’t even have an address. However, if I manually type in the movement of all three planets it works. Here&#8…

Libgdx Keep getting an error when I try to load a Tiled Map

I am relatively new to libgdx and I cannot figure how to fix this error I keep getting. I have tried multiple sources but none seem to work and I feel like there might be an error in my code. The error is… Execution failed for task ‘:desktop:DesktopLauncher.main()’. Process ‘command &#…

Can’t write to GL_RGBA32UI FBO texture on OpenGL ES

I have two GL_RGBA32UI FBO textures, which I use to store current state of particle positions/velocities per texel. The first I fill with data like this only once: Per render loop the second one is written to via a shader while the first is used as texture and the second as target. I do that by drawing a quad…