Retro games are often popular, e.g. Orange Pixel games, and they tend to get good coverage in Touch Arcade and other places. In a recent discussion I noted that the iPad has exactly 4 times the resolution of the ZX Spectrum (1024x768). So I was thinking, could a logical resolution of 256x192 be supported in such a way that the game is written relative to 256x192 then pixel quadrupled onto the iPad screen? This pixel quadrupling needs to preserve the original pixels but convert each pixel to a 4x4 block. Thus the iPad screen looks exactly like a Spectrum screen with clearly visible pixels.
This should work with vector graphics as well: if I draw a 45 degree line on the virtual 256x192 screen the "staircase" appearance of the line should be clearly visible. I.e. the line should not be redrawn at higher resolution when in "stretch" mode. Vector images need to be magnified pixel-by-pixel not simply redrawn on a different coordinate system.
Of course the example I gave iPad/Spectrum is just one pairing that might be considered. But the two resolutions should be exact multiples.
Comments
But don't worry about antialiasing of VG (Shape class) - it won't get into your way, it doesn't support any AA at all.
Not sure if Gideros can do that? Or even if openGL can do it?
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
at least the vector shapes etc have a chance to be upscaled in a manner as you wish as when you draw them to a rendertarget, you completely lose the vector info and they are stored pixelwise.
you may want to test this out using a simple example.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Unless devs have any other ideas?
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
As for the vector-drawing functions, I think you're stuck with the RenderTarget approach. I would keep this to an absolute minimum if I were you, as it's likely to destroy performance.
https://deluxepixel.com