1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-14 04:00:29 +00:00

Update tron

This commit is contained in:
LDDestroier 2018-11-14 19:39:40 -05:00 committed by GitHub
parent b997fba803
commit a0e4ef8274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
tron
View File

@ -495,13 +495,13 @@ local startCountdown = function()
scrollY = player[you].y - math.floor(scr_y / 2) scrollY = player[you].y - math.floor(scr_y / 2)
for i = 3, 1, -1 do for i = 3, 1, -1 do
render() 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.setTextColor(colors.white)
term.write(cMessage) term.write(cMessage)
term.setTextColor(col) term.setTextColor(col)
term.write(cName) term.write(cName)
term.setTextColor(colors.white) 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 .. "...") term.write(i .. "...")
sleep(1) sleep(1)
end end