generated from cadin/panels-project-template
/
s03.lua
30 lines (27 loc) · 960 Bytes
/
s03.lua
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
s03 = { -- Sequence 3
title = "3: Hidden Controls",
-- list the advance controls for this sequence
-- these will be hidden so they don't need positions
-- we'll add graphics or text to the final panel to instruct the user instead
showAdvanceControls = false,
advanceControls = {
{ input = Panels.Input.A, target = 1 },
{ input = Panels.Input.B, target = 4 },
},
panels = {
{ -- Panel 1
layers = {
-- list of layers for panel 1
{ text = "Sequence 3:", x = 20, y = 20 },
{ text = "Hidden Controls", x = 20, y = 40 }
}
},
{ -- Panel 2
layers = {
-- list of layers for panel 2
{ text = "*Press A*\nto go back to Sequence 1", x = 60, y = 60 },
{ text = "*Press B*\nfor the directional controls example", x = 60, y = 145 }
}
}
}
}