-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.scn
More file actions
59 lines (52 loc) Β· 1021 Bytes
/
Copy pathmain.scn
File metadata and controls
59 lines (52 loc) Β· 1021 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$root = @Patterns
[Patterns]
script = "res://scripts/controller.rs"
script_vars = {
player = @Player,
adapter = @Adapter,
icon = "res://pattern.svg"
}
[Node2D]
[/Node2D]
[/Patterns]
[Player]
parent = @Patterns
script = "res://scripts/player.rs"
script_vars = { icon = @Icon }
[Node2D]
[/Node2D]
[/Player]
[Adapter]
parent = @Patterns
script = "res://scripts/adapter.rs"
script_vars = { target = @Player }
[Node2D]
[/Node2D]
[/Adapter]
[Hud]
parent = @Patterns
script = "res://scripts/hud.rs"
[UiLabel]
anchor = "center"
size_ratio = (0.55, 0.20)
text = "Score: 0"
text_size_ratio = 0.32
color = "#FFFFFFFF"
[/UiLabel]
[/Hud]
[Audit]
parent = @Patterns
script = "res://scripts/audit.rs"
[Node2D]
[/Node2D]
[/Audit]
[Icon]
parent = @Patterns
[Sprite2D]
texture = "res://pattern.svg"
[Node2D]
position = (0.0, -120.0)
scale = (0.75, 0.75)
[/Node2D]
[/Sprite2D]
[/Icon]