Stormworks: Build and Rescue

Stormworks: Build and Rescue

Оценок: 26
*LUA* Scalable Multiline Text
   
Наградить
В избранное
В избранном
Удалить
Метки: v0.9.13
Размер файла
Добавлен
203.796 KB
22 ноя. 2019 г. в 11:05
Обновлений: 1 (просмотреть)

Подпишитесь, чтобы загрузить
*LUA* Scalable Multiline Text

В 1 коллекции, созданной Tajin
Quality microcontollers for every occasion
Предметов: 21
Описание
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
Mild_Spook™ 29 мая. 2023 г. в 4:37 
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 июл. 2022 г. в 6:01 
I mean smaller than vanilla text size allows :p
Tajin  [создатель] 2 июл. 2022 г. в 18:25 
default text is pretty much as small as is feasible due to the pixels, not much you can do about that.
mistzy 2 июл. 2022 г. в 15:47 
How small can this go? I need smaller than the default text size, if possible.
madvent 26 мая. 2020 г. в 9:39 
Awesome ! I'll try soon !
Tajin  [создатель] 17 мая. 2020 г. в 9:15 
Parameters of the microcontroller.
Axiom 17 мая. 2020 г. в 6:25 
Where do you go to customise the text?