I’m trying to understand the behavior of having multiple viewports in libgdx as seems unpredictable
I have been fighting with placing two small viewports, the main one which uses the entire screen space, and a secondary with is just at top right (as the idea is to draw a FPS counter there)
Libgdx: Make holes in a sprite with multiple other sprites
I need to do thing on the pic, to punch holes in one sprite with the shape of multiple other sprites. The positions of those holes varies so I can’t make one mask beforehand.
Ligdx tables and styles
This might be a bit of a generic question, but I’m kind of stomped by this.
I don’t understand what’s happening in my code
I’m making a game with Libgdx, currently implementing terrain generation. Here is the code: