• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • 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.

Size of Font

mane

I need more class of English:/
  • 17
    Posts
    14
    Years
    Hello everybody
    how can do to change to size of font or the font when i show a text?
    i don't know as used the script of "pbSetSystemFont"
     
    https://pokemonessentials.wikia.com/wiki/Messages#Modifying_text said:
    <fn=X>...</fn> Makes the text between these commands display is a specified font (or Arial if the font doesn't exist).
    <fs=X>...</fs> Makes the text between these commands font size "X". Text will be squished if this is greater than 32.
    ---------------------------------------------
     
    I do not think that this serve me.
    is for this script:
    Code:
    @sprites["overlay"]=BitmapSprite.new(Graphics.width,Graphics.height,@viewport)
        overlay=@sprites["overlay"].bitmap
        overlay.clear
        pbSetSystemFont(@sprites["overlay"].bitmap)
     
    you need to use.
    Code:
    @sprites["overlay"].bitmap.font.size=28
    also you can change font which you want to use by using.
    Code:
    @sprites["overlay"]bitmap.font.name="name of font"
     
    Back
    Top