Make a specific font not pixellated in pixel game

  • #1, by tobiassvenbladWednesday, 24. May 2017, 20:21 3 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?


    Newbie

    7 Posts


  • #2, by sebastianWednesday, 24. May 2017, 21:40 3 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... 

    Thread Captain

    2340 Posts

  • #3, by tobiassvenbladWednesday, 24. May 2017, 22:27 3 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?

    Newbie

    7 Posts

  • #4, by sebastianWednesday, 24. May 2017, 22:35 3 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.

    Thread Captain

    2340 Posts

Write post