Codesters FAQ is the official FAQ site for codesters.com. We will continue to update this blog with the most common questions we receive form teachers using Codesters.

Formatting Text

It is easy to change the look of your text. The fonts that you can use are dependent on the fonts that are stored on your computer.

sprite = codesters.Text("Hello.\nthis is a very long string with one manual line break")
sprite.set_text_width(200)
sprite.set_text_align('right')
sprite.set_text_font('proxima-nova')
sprite.set_text_size(30)
sprite.set_text_weight('bold')
sprite.set_color('pink')
sprite.say('say text')