Stormworks: Build and Rescue

Stormworks: Build and Rescue

26 ratings
*LUA* Scalable Multiline Text
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
203.796 KB
22 Nov, 2019 @ 11:05am
1 Change Note ( view )

Subscribe to download
*LUA* Scalable Multiline Text

In 1 collection by Tajin
Quality microcontollers for every occasion
21 items
Description
This draws a custom made, fully scalable font on any connected screen.
It an be used as is or be included into an existing MC.


This allows you to enter the fontsize for your text manually. You can change the position and of the text the same way you would draw a rectangle (x,y,w,h). The text wraps inside the defined rectangle, similar to the default Textbox. Fontsize, Color and Fontweight are adjustable.

In short:
- adjustable fontsize
- adjustable weight
- colorable
- Text is in capitals
- Default Charset includes the following: "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 !?+-:_.,"


The charset can also be extended or even used to draw other things... if you understand how it works. (Hint: its similar to svg)
7 Comments
Mild_Spook™ 29 May, 2023 @ 4:37am 
i gotta add more text but the text box iself on the micro wont acept more than a certain amount of caracters how do i add more
mistzy 6 Jul, 2022 @ 6:01am 
I mean smaller than vanilla text size allows :p
Tajin  [author] 2 Jul, 2022 @ 6:25pm 
default text is pretty much as small as is feasible due to the pixels, not much you can do about that.
mistzy 2 Jul, 2022 @ 3:47pm 
How small can this go? I need smaller than the default text size, if possible.
madvent 26 May, 2020 @ 9:39am 
Awesome ! I'll try soon !
Tajin  [author] 17 May, 2020 @ 9:15am 
Parameters of the microcontroller.
Axiom 17 May, 2020 @ 6:25am 
Where do you go to customise the text?