4.5. Write a MessageΒΆ

Video of write.py running.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
'''
Write a message.
'''

from unifeatherbot import UniFeatherBot
bot = UniFeatherBot()

# Double the size of the characters written
bot.setscale(2)
bot.write("Hello!", "fonts/scripts.fnt")
bot.done()