• 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.
  • The forums will be going offline starting at 9:00 am PST, 12:00 pm EST, 4:00 pm UTC, 5:00 pm BST. Please check our socials for an announcement when the website will come back online!
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