Description
Introduction
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!
Advantages
- Works very simple and comparable to draw_text_ext
- Helps to improve workflow when dealing with multiple languages
Disadvantages
- Text might become unreadable as it can become very small
Example
Draw Event
/// 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);
Conclusion
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! :)
End User Licence Agreement (EULA).
Age Rating: None
Version
GMS1 - Version 1.0.0. Published August 10, 2018
First version of the script
Loading, please wait
Package contents
Loading, please wait
What is the issue?
Loading, please wait