Appsurd presents a simple but useful script which scales your text in case it does not fit on a line any more. Works on GMS 1.4 and GMS 2. Works comparable to draw_text_ext but does not line-break, but instead draws the text in a smaller font. Of course the script is well-commented and you may use it for free. If you want to give us credits (not obligatory but you may do so) please put down Appsurd!
/// Draw the text and boxes draw_set_color(c_white); draw_rectangle(100,110,400,128,false); draw_rectangle(100,210,400,220,false); draw_set_color(c_black); var txt = "A short sample text, script made by Appsurd"; // Standard script draw_text(100,110,txt); // New script draw_text_properly(100,210,txt,300);
If you have any improvements or if you found a bug, please tell us so we can improve it! Rating and sharing will be appreciated! :)
First version of the script
Version 1.0.0. Published August 10, 2018
Created with GameMaker: Studio v1.4.1804
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!