Hi 🙂 I'm making a game that has 300x200 resolution with a pixel perfect plugin. If I use the standard Verdana font I can't make it small enough to fit the game. If I use another font and make it small it gets an outline, this should be a scaling issue as far as I can understand. Is there a way to get small pixel perfect text with this low resolution?
EDIT: Some fonts are fine but doesn't have enough spacing between letters, can I change spacing?
Unfortunately for you, the pixel is an absolute unit in 2D screens.
You simply cannot use half-pixels or something similar.
I know of no font that can work with only 5 pixel height. Even the smallest fonts need at minimum 8 pixels, and those are often barely readable.
With 8 pixels you'll need a minimum of 10 pixels per text line - better 11 pixels.
And you have only 200 pixels top to bottom.
Adding the windows frame and cursor space and so on, and you can't go much smaller than in your screenshot - not without rewriting the entire engine for smaller scale, and even then you'll have limits.
Have you considered faking the effect?
Basically use 600x400 as a screen size, and use an image program to turn all single pixels into 2x2 pixel blocks manually, then use a font that is readable because it can still use the single pixels in the 600x400 screen size?
Thank you for your in-depth answer 🙂 I tried faking the effect, and it works fine for the tiles but then the character sprites become too small compared to the tiles.
I just doubled the tiles graphics in size, but the grid is still 48x48 tiles, now the same tiles occupy 2x2 tiles instead of 1x1, but the character sprites stills fit into the 48x48 tiles occupying 1x1 tiles and therefore are half the size compared to the tiles when the tiles are doubled.
are you checking in the editor or ingame?
the editor limits the size because you need to be able to see what is besides the tile, but ingame a sprite can have any size.
and if you're writing about something else, please give a screenshot to see the problem.