1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-09-01 18:38:00 +00:00

Update dvdlogo.lua

This commit is contained in:
LDDestroier
2020-02-08 22:40:41 -05:00
committed by GitHub
parent 634dc7d7e1
commit b04de3564e

View File

@@ -8,6 +8,7 @@ end
local xMargin, yMargin = 0, 0
local redrawDelay = nil
local changeColors = true
local scr_x, scr_y = term.getSize()
local max, min = math.max, math.min
@@ -137,7 +138,11 @@ local tick = function()
logo.yvel = -logo.yvel
color = math.random(1, 15)
end
render(string.sub("0123456789abcdef", color, color))
if changeColors then
render(string.sub("0123456789abcdef", color, color))
else
render()
end
end
term.setBackgroundColor(colors.black)