SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Reply
 
Thread Tools Search this Thread
Old 01-02-2018   #1
"Lat'"
Stop it
 
"Lat'"'s Avatar
Default drawString "center" doesn't like newline.

Using drawString with "center" alignment doesn't seem to take new lines into account when displaying those and instead keeps shifting the entire string to the left.

Code:
hud.add(function(v, p)
	v.drawString(160, 90, "Nice drawstring you got th \noh no help. \nit's getting worse help", V_ALLOWLOWERCASE, "center")
end)
results in
Attached Thumbnails
Click image for larger version

Name:	srb20522.png
Views:	157
Size:	97.2 KB
ID:	12163  
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.
"Lat'" is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.