diff options
Diffstat (limited to 'assets/scripts/character-select.lua')
| -rw-r--r-- | assets/scripts/character-select.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/assets/scripts/character-select.lua b/assets/scripts/character-select.lua new file mode 100644 index 0000000..c3f7e52 --- /dev/null +++ b/assets/scripts/character-select.lua @@ -0,0 +1,24 @@ +---@diagnostic disable: undefined-global + +characters = {"Cobalt Phantom", "Emerald Venom", "Golden Radiance", "Crimson Reaper"} +player1Character = "" +player2Character = "" + +function Setup() + print(characterSelectType) +end + +function Update() + local fontFile = "assets/fonts/OpenSans-Bold.ttf" + local fontSize = 50 + local text = "Character Select" + + local textWidth = getTextWidth(fontFile, fontSize, text) + local x = (WIDTH - textWidth) // 2 + local y = 20 + + queueTextForRender(text, fontFile, x, y, fontSize, 255, 255, 255, 255) + + + +end
\ No newline at end of file |
