mirror of
https://github.com/LDDestroier/CC/
synced 2024-12-14 20:20:29 +00:00
Update tron
This commit is contained in:
parent
b997fba803
commit
a0e4ef8274
4
tron
4
tron
@ -495,13 +495,13 @@ local startCountdown = function()
|
||||
scrollY = player[you].y - math.floor(scr_y / 2)
|
||||
for i = 3, 1, -1 do
|
||||
render()
|
||||
term.setCursorPos(math.floor(scr_x / 2 - (#cMessage + #cName) / 2), math.floor(scr_y / 2))
|
||||
term.setCursorPos(math.floor(scr_x / 2 - (#cMessage + #cName) / 2), math.floor(scr_y / 2) + 2)
|
||||
term.setTextColor(colors.white)
|
||||
term.write(cMessage)
|
||||
term.setTextColor(col)
|
||||
term.write(cName)
|
||||
term.setTextColor(colors.white)
|
||||
term.setCursorPos(math.floor(scr_x / 2 - 2), math.floor(scr_y / 2) + 2)
|
||||
term.setCursorPos(math.floor(scr_x / 2 - 2), math.floor(scr_y / 2) + 4)
|
||||
term.write(i .. "...")
|
||||
sleep(1)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user