When I load a 16x16 pixelart image into my game and render it (upscaled in the spritebatch) it all looks fine. But when you make the window smaller the textures also get smaller (thats good) and their pixels get larger and smaller when moving (not good).
Is there any way to make a small interpolation between the pixels?
I tried texture.setFilter(Texture.TextureFilter.Linear, Texture.TextureFilter.Linear);
but that makes the whole texture blury.
I saw the online game diep.io which has a great execution on this (grid lines) and I wondered if I could do something similar in my game with libgdx.
My textures:
diep.io example
(Big frame)
(small frame)
resize()
you would dispose and create new FrameBuffers as the screen size changes. Then you draw the FrameBuffer's texture to the screen using an upscaling shader. There are various examples online of pixel art upscaling shaders that have different pros and cons. That's as much as I can help, because I've never actually done it myself. – Tenfour04