-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHUD.tscn
116 lines (98 loc) · 3.34 KB
/
HUD.tscn
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[gd_scene load_steps=11 format=2]
[ext_resource path="res://fonts/roboto-slab.bold.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Scripts/HUD.gd" type="Script" id=2]
[ext_resource path="res://Sprites/JumpForLeft_Grafiken/Buttons/pause.png" type="Texture" id=3]
[ext_resource path="res://gameover_screen/GameOverScreen.tscn" type="PackedScene" id=4]
[ext_resource path="res://gameover_screen/LevelInfo.tscn" type="PackedScene" id=5]
[ext_resource path="res://Audio/ui_click_rollover_misc_01.mp3" type="AudioStream" id=6]
[ext_resource path="res://gameover_screen/ManualScreens/Manual_Screen.tscn" type="PackedScene" id=7]
[sub_resource type="DynamicFont" id=1]
size = 80
outline_size = 2
use_filter = true
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=2]
size = 80
outline_size = 4
outline_color = Color( 0.898039, 1, 0, 1 )
use_filter = true
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=3]
size = 40
outline_size = 2
use_filter = true
font_data = ExtResource( 1 )
[node name="HUD" type="CanvasLayer" groups=[
"HUD",
]]
script = ExtResource( 2 )
[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_right = 628.0
margin_bottom = 200.0
custom_constants/separation = 20
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="HBoxContainer"]
margin_right = 184.0
margin_bottom = 200.0
texture_normal = ExtResource( 3 )
[node name="Sound" type="AudioStreamPlayer" parent="HBoxContainer/TextureButton"]
stream = ExtResource( 6 )
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
margin_left = 204.0
margin_right = 587.0
margin_bottom = 200.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer"]
margin_right = 383.0
margin_bottom = 106.0
[node name="ScoreLabel" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
margin_right = 379.0
margin_bottom = 106.0
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Punkte: 0 "
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PerfectCollLabel" type="Label" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
margin_left = 383.0
margin_right = 383.0
margin_bottom = 106.0
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HighScoreLabel" type="Label" parent="HBoxContainer/VBoxContainer"]
margin_top = 110.0
margin_right = 383.0
margin_bottom = 163.0
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Highscore: 0"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LiveLabel" type="HBoxContainer" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -1036.0
margin_top = 30.0
margin_right = 300.0
margin_bottom = 163.0
rect_scale = Vector2( 0.75, 0.75 )
alignment = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GameOverScreen" parent="." instance=ExtResource( 4 )]
visible = false
[node name="LevelInfo" parent="." instance=ExtResource( 5 )]
[node name="Manual" parent="." instance=ExtResource( 7 )]
visible = false
[connection signal="button_down" from="HBoxContainer/TextureButton" to="." method="_on_TextureButton_button_down"]
[connection signal="button_up" from="HBoxContainer/TextureButton" to="." method="_on_TextureButton_button_up"]