-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboot.lua
More file actions
30 lines (26 loc) · 738 Bytes
/
Copy pathboot.lua
File metadata and controls
30 lines (26 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require "openCFunctions"
require "GUI"
term.setCursorBlink(false)
width, height = gpu.maxResolution()
gpu.setResolution(width, height)
--Tier 2
function drawBootLogoTier2()
gpu.setBackground(white)
gpu.setForeground(black)
gpu.fill(1, 1, width, height, " ")
gpu.setBackground(gray)
gpu.fill((width / 2) - 15, 18, 25, 1, " ")
gpu.set((width / 2) - 15, 19, " ")
gpu.set((width / 2) + 9, 19, " ")
gpu.fill((width / 2) - 15, 20, 25, 1, " ")
end
function drawLoadingBarTier2()
gpu.setBackground(lightGray)
for i=(width / 2) - 14, (width / 2) + 8 do
gpu.set(i, 19, " ")
os.sleep(0.1)
end
end
drawBootScreen()
os.sleep(1)
shell.execute(".startScreen")