• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Resource icon

Tutorial How to change fonts in your scripts 2018-12-06

Invatorzen

Umbra Dev
Member
Joined
Aug 5, 2017
Posts
63
Buttjuice submitted a new resource:

How to change fonts in your scripts - Change text for things like your summary screens

Hi there! Have you ever wanted to change your font for a specific thing in your game, like the summary screen? It's actually pretty easy, so here's how to do it:

First, go to your SpriteWindow script and copy the code referring to def pbDrawTextPositions(bitmap,textpos) and paste it two lines under.
Ruby:
Expand Collapse Copy
def pbDrawTextPositions(bitmap,textpos)
  for i in textpos
    textsize=bitmap.text_size(i[0])
    x=i[1]...

Read more about this resource...
 
Back
Top