• 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 Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

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

Invatorzen

Umbra Dev
Member
Joined
Aug 5, 2017
Posts
69
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