• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Removing drop shadow completely from texts?

  • 1
    Posts
    4
    Years
    • Seen Oct 14, 2020
    I am trying to make a game that's more in the Gen 1 style in RPG Maker XP. I found a font (Pokemon Classic) that looks like the original font, but when I load the game it looks bulky and ugly. I found out that it was because of drop shadows. I was able to find a post by Maruno explaining how to remove drop shadows from default text, which worked! Kind of...

    The system font is no longer displaying drop shadows (good), but any "messages" are (bad). So any NPC's that talk to me, any signposts, anything I click on, all still has that ugly drop shadow on it. As you can see here: , it's showing the word "Options" and the description of those options with the drop shadow, but the actual options themselves do not have it.

    Another note: I can add an attribute to the beginning of text changing the color of the drop shadow, but when I change it to white (so it can't be seen), it makes the text look blurry and ugly, like in this example: . Also, I obviously wouldn't want to add this to every line of text, so this leads to my question.

    Does anyone know how to disable text shadows completely? Not just in the system, but the messages too? I can post scripts from my settings if you need them. Thanks for the help!

    EDIT: I can't seem to post links/pictures until I've made 5 posts, which I don't want to do. So, hopefully, my descriptions will suffice.
     
    Last edited:
    Hey, I'm currently doing something similar. There are a few functions that need code disabled - I'll get the details for you when I check tomorrow
     
    Ok, so here is what you need. (This is for Essentials 17.2, so if you are on 18 or an earlier one idk if it's the same)

    In the DrawText script section, remove or comment out these four lines from function "renderLineBrokenChunksWithShadow":

    bitmap.font.color=shadowColor
    bitmap.draw_text(textx+2,texty,width+2,height,text)
    bitmap.draw_text(textx,texty+2,width+2,height,text)
    bitmap.draw_text(textx+2,texty+2,width+2,height,text)

    Then in function "drawSingleFormattedChar", find the "if" block that starts with "if ch[9]" and comment out that whole section.

    You will also need to comment out the "if shadowColor" block from functions "pbDrawShadowText" and "pbDrawOutlineText" but that may be the part you've already done.

    I'm pretty sure that will remove shadows from all of the text. Let me know if you have questions
     
    Back
    Top