Engine: Allow configuration of font size and line spacing

This commit is contained in:
Riyyi
2023-12-29 22:12:13 +01:00
parent 6e5f82913e
commit 15b71f8387
7 changed files with 102 additions and 38 deletions
+3 -3
View File
@@ -42,9 +42,9 @@
"name": "Text",
"content": "Hello World!",
"font": "assets/fnt/open-sans",
"font-size": 10,
"width": 150,
"lines": 3
"font-size": 24,
"line-spacing": 1.0,
"width": 150
}
]
}