aboutsummaryrefslogtreecommitdiff
path: root/assets/scripts/character-select.lua
blob: c3f7e52ea5785df16a6349e6c1740a2d7edfe1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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