Make a specific font not pixellated in pixel game

  • #1, z tobiassvenbladWednesday, 24. May 2017, 20:21 hodinky 7 years ago
    Hi!

    I'm having a pixellated font in my game that is the default one, however, due to accessibility I would like to add another font that is more smoother, thus more readable for people with dyslexia or poor vision. 
    However, when I add that font to the game and display it, it comes out pixellated as well, and I believe the issue is that I have the checkbox "Activate pixel effect" and choose the "Nearest neighbor" as filter. Is there any way to write an LUA script that will make the font ignore these settings, but still have the game pixellated?


    Bažant

    7 Posts


  • #2, z sebastianWednesday, 24. May 2017, 21:40 hodinky 7 years ago
    what is your game's native resolution you set for this project? 
    You are not able to show greater details in stuff your resolution restricts you doing it... 

    Kapitán

    2346 Posts

  • #3, z tobiassvenbladWednesday, 24. May 2017, 22:27 hodinky 7 years ago
    what is your game's native resolution you set for this project? 
    You are not able to show greater details in stuff your resolution restricts you doing it... 

    It's 416 x 234.
    Might be, yeah. And there's no way to "disable" the pixellated effect for a specific font?

    Bažant

    7 Posts

  • #4, z sebastianWednesday, 24. May 2017, 22:35 hodinky 7 years ago
    if you mean by disable pixelated effect to show it in higher resolition and not affecting its size it would take then : no.
    You have to think about your possibilites with resolution in the smallest size (your games resoluten) you have. So you are basically not able to put two pixels in one original pixel to nake a font or anything else look more detailed. 

    If you only want to have a specific font have some kimd of anti aliasing you could make a bitmap font and add half transparent pixels at some edges of the letters to imitate smothness.

    Kapitán

    2346 Posts