Hello,
Found few interesting geme screenshots in twitter recently and retuned to idea create something like that in PlayN.
I'm talking about these tweets (sorry, can't get link to the target GIF):
So, the Idea is - create small pixel-art style game where all graphics will be extremly small, created by pixels, where all will be rendered in square (maybe rect) zoomed screen. Like on previous GIFs. I know they are videos :) Also targeting mobile devices firtsly.
My problems:
1. I didn't find a way to configure or re-create existing RenderTarget to disply static fixed game screen size on any device.
Default RenderTarget is listening default scaling. To create new I need Texture. To create Texture I need default Graphics which used predefined scaling again.
2. Default auto scaling working very bad for pixel art textures on Android. See attached images from Nexus and Amazon Fire talet.
3. Default auto scaling doesn't work on desktop - it is always 1. It is expected, but I need fixed viewport size with 'scaling' on desktop too.
4. If texture scaling it damaged (just zoom my screenshots) as pixel art texture.
I've overried default texture config to use GL_NEAREST,GL_NEAREST filters but it desn't help.
Can anyone exmlain how i can reach it with PlayN? How can I extend/configure own viewport?
Thanks!