haxegon / zeedonk

Haxegon + Puzzlescript = Zeedonk!
http://www.zeedonk.net
12 stars 2 forks source link

multiline string not centered #324

Closed increpare closed 9 years ago

increpare commented 9 years ago
var s = "aaasdasad\nb ads s as das as d";

Text.display(Text.CENTER,Text.CENTER,s.toLowerCase());
increpare commented 9 years ago

ditto for

Gfx.clearscreen(Col.WHITE);
Text.setfont(Font.COMIC);
var s = "How quickly daft 
jumping zebras vex.";

Text.display(5,Text.CENTER,s.toUpperCase()+"\n"+s.toLowerCase(),Col.BLACK);