• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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] Time font size , pause menu

  • 68
    Posts
    12
    Years
    • Seen Jan 17, 2017
    hi i am used this script for a "pause menu"
    HERE THE PASTE BIN CODE


    OR HERE THE CODE , but pokecomunnity meaby broke the code :s
    Spoiler:


    but i want to know if there a way to make time more big, but only the time
    here a picture, is little i want to make more big
    (i dont know much about script, if any want can edit the script or give to me the line code to add, would be great :D! )
    [PokeCommunity.com] Time font size , pause menu
     
    Last edited:
    You're in luck. The time is the first thing that gets printed to the screen, which means I don't have to do weird things to rearrange everything.

    Replace line 141 (the line that reads as follows
    Code:
          textos.push([_ISPRINTF("{1:02d}   {2:02d}", Time.now.hour, Time.now.min),15,0,false,baseColor,shadowColor])
    ) with all of this:
    Code:
          @sprites["overlay"].bitmap.font.size=38 # this is the number you want to edit until it's the size you want
          textos.push([_ISPRINTF("{1:02d}   {2:02d}", Time.now.hour, Time.now.min),15,0,false,baseColor,shadowColor])
          pbDrawTextPositions(overlay,textos)
          pbSetSystemFont(@sprites["overlay"].bitmap)
          textos=[]
     
    Spoiler:


    thnx it work, but there is a way to change the " : " size , you know for explample "10 : 00" , with the line you give me just change the "10 00 " but no the " : " xD
     
    thnx it work, but there is a way to change the " : " size , you know for explample "10 : 00" , with the line you give me just change the "10 00 " but no the " : " xD

    I didn't even know that there was a colon. You can just add the colon to the original time, unless there's a reason it's on a different layer.
     
    Back
    Top