Pixeled Font Script (No Anti-Aliasing)

Discussion in 'RGSS3 Script Requests' started by TheBrogrammer, Aug 19, 2012.

Thread Status:
Not open for further replies.
    Tags:
  1. TheBrogrammer

    TheBrogrammer Arving Startist

    Messages:
    236
    Likes Received:
    25
    First Language:
    English
    Hello. Here is my script request for today.

    I want a script that cancels out the default anti-aliasing on fonts. If you don't know what I mean, let me show you:

    Would you rather have this:

    [​IMG]

    Or:

    [​IMG]

    Why do I want a script that can do this? To make games look retro! Retro is cool!

    I would also this script to change the window opacity to 255, (In English: Make the window not see-through anymore.)

    And one more thing: This needs to be compatible with Yanfly's script. (Well... I guess it doesn't NEED to be, but it would be nice.)

    Hope this request isn't too hard.
     
    #1
  2. Neon Black

    Neon Black The Classy Prostitute

    Messages:
    1,149
    Likes Received:
    357
    Location:
    Eastern US
    First Language:
    Sarcasm
    You may want to search for a different font. I don't know if a script will do that.

    As for opacity. http://pastebin.com/hYiShYyV

    Hope that helps.
     
    #2
  3. Victor Sant

    Victor Sant Veteran

    Messages:
    1,686
    Likes Received:
    1,399
    Location:
    Brazil
    First Language:
    Portuguese
    Changing font will not help to solve this. The Bitmap#draw_text always anti-alias the text.

    You can use a script that use Sprites for text instead of the Bitmap#draw_text like my SFonts.
     
    #3
  4. TheBrogrammer

    TheBrogrammer Arving Startist

    Messages:
    236
    Likes Received:
    25
    First Language:
    English
    Wow!

    Thanks for the scripts guys!

    @Victor: This is a pretty awesome script, but do you know of any sort of SFont generator to make my life easier?
     
    Last edited by a moderator: Aug 19, 2012
    #4
  5. Gomi Boy

    Gomi Boy  

    Messages:
    921
    Likes Received:
    159
    First Language:
    the truth
    There's a wide variety of bitmap fonts available on various places around the internet. Most of them are pretty gimmicky, but look around. You might be surprised.
     
    Last edited by a moderator: Aug 19, 2012
    #5
  6. Victor Sant

    Victor Sant Veteran

    Messages:
    1,686
    Likes Received:
    1,399
    Location:
    Brazil
    First Language:
    Portuguese
    Nope, the graphic is up to you.
     
    #6
  7. TheBrogrammer

    TheBrogrammer Arving Startist

    Messages:
    236
    Likes Received:
    25
    First Language:
    English
    Yes, the graphic is up to me, but I'm not sure how to make the graphic work. I tried my hand by typing the same letters as the example you provided, and all I got was a mess.

    Is there some sort of application that makes these things work?
     
    Last edited by a moderator: Aug 19, 2012
    #7
  8. Victor Sant

    Victor Sant Veteran

    Messages:
    1,686
    Likes Received:
    1,399
    Location:
    Brazil
    First Language:
    Portuguese
    There's no automated way of doing that.

    It's not hard, all you need to have in mind is the dots on the upper parts of the graphic, they're the "divisors".

    Do you see the pink lines above the font? everythinh aligned with it will be skiped. The dot on the upper left edge is VERY important. (the color don't matter, as long it's the same color for all lines)

    [​IMG]

    That is how the script "slices" the fonts:

    [​IMG]

    If you're not feeling "safe" in using only one line you can do something like this, since the whole column is skiped, doesn't matter what it contains, so you can have a better visualization of the division.

    [​IMG]

    If you still can't get it work, post the graphic you made, and the settings on the script so i can see what is wrong.
     
    Last edited by a moderator: Aug 20, 2012
    #8
  9. TheBrogrammer

    TheBrogrammer Arving Startist

    Messages:
    236
    Likes Received:
    25
    First Language:
    English
    Here's my image.

    [​IMG]

    I outlined it in blue so you could see it better. I can't figure out what's wrong.

    The script is unchanged.

    EDIT: Ah, found out what was wrong. I just forgot the @ symbol. Thanks so much for your help! I think we can call this one solved!
     
    Last edited by a moderator: Aug 20, 2012
    #9
  10. Mr. Bubble

    Mr. Bubble Makes stuff.

    Messages:
    853
    Likes Received:
    159
    Location:
    Portland, Oregon
    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
     
    #10
Thread Status:
Not open for further replies.

Share This Page