bigger text in flixel playground

This commit is contained in:
2022-07-03 03:03:03 +00:00
parent 6c36f17d23
commit d51940f1fc
2 changed files with 6 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
->bitmapData {
(loadGraphic bitmapData)
}))
(set pixels .pixels (new FlxText 0 0 0 (readComponent e Name) 16)))
(set pixels .pixels (new FlxText 0 0 0 (readComponent e Name) PlayState.TEXT_SIZE)))
(updateColor)
(when (hasComponent e Scale)
(let [:Float scale (readComponent e Scale)]