forked from team-sg/hero-mark-2
120 lines
2.9 KiB
Text
120 lines
2.9 KiB
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://graphics/hud/stars_hud.png" type="Texture" id=1]
|
|
[ext_resource path="res://graphics/hud/hud.png" type="Texture" id=3]
|
|
[ext_resource path="res://objects/hud/hud.gd" type="Script" id=6]
|
|
[ext_resource path="res://scripts/theme.tres" type="Theme" id=10]
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer"]
|
|
layer = 100
|
|
|
|
[node name="HUD" type="Control" parent="."]
|
|
margin_top = 1.0
|
|
margin_bottom = 1.0
|
|
script = ExtResource( 6 )
|
|
|
|
[node name="Back" type="Sprite" parent="HUD"]
|
|
position = Vector2( 128, 95 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="GoldCounter" type="Label" parent="HUD"]
|
|
margin_left = 12.0
|
|
margin_top = -2.0
|
|
margin_right = 52.0
|
|
margin_bottom = 18.0
|
|
theme = ExtResource( 10 )
|
|
text = "00
|
|
"
|
|
|
|
[node name="ShardCounter" type="Label" parent="HUD"]
|
|
margin_left = 41.0
|
|
margin_top = -2.0
|
|
margin_right = 81.0
|
|
margin_bottom = 18.0
|
|
theme = ExtResource( 10 )
|
|
text = "00"
|
|
|
|
[node name="RedStar" type="Sprite" parent="HUD"]
|
|
material = SubResource( 1 )
|
|
position = Vector2( 86, 5 )
|
|
texture = ExtResource( 1 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 8, 8 )
|
|
|
|
[node name="YellowStar" type="Sprite" parent="HUD"]
|
|
material = SubResource( 2 )
|
|
position = Vector2( 96, 5 )
|
|
texture = ExtResource( 1 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 8, 0, 8, 8 )
|
|
|
|
[node name="GreenStar" type="Sprite" parent="HUD"]
|
|
position = Vector2( 106, 5 )
|
|
texture = ExtResource( 1 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 16, 0, 8, 8 )
|
|
|
|
[node name="BlueStar" type="Sprite" parent="HUD"]
|
|
position = Vector2( 116, 5 )
|
|
texture = ExtResource( 1 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 24, 0, 8, 8 )
|
|
|
|
[node name="MagentaStar" type="Sprite" parent="HUD"]
|
|
position = Vector2( 126, 5 )
|
|
texture = ExtResource( 1 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 32, 0, 8, 8 )
|
|
|
|
[node name="ScoreText" type="Label" parent="HUD"]
|
|
margin_left = 137.0
|
|
margin_top = -2.0
|
|
margin_right = 221.0
|
|
margin_bottom = 18.0
|
|
theme = ExtResource( 10 )
|
|
text = "SCORE:"
|
|
|
|
[node name="ScoreCounter" type="Label" parent="HUD"]
|
|
margin_left = 179.0
|
|
margin_top = -2.0
|
|
margin_right = 263.0
|
|
margin_bottom = 18.0
|
|
theme = ExtResource( 10 )
|
|
text = "000000"
|
|
|
|
[node name="HighCounter" type="Label" parent="HUD"]
|
|
visible = false
|
|
margin_left = 178.0
|
|
margin_top = 178.0
|
|
margin_right = 262.0
|
|
margin_bottom = 198.0
|
|
theme = ExtResource( 10 )
|
|
text = "High:000000"
|
|
|
|
[node name="LivesCounter" type="Label" parent="HUD"]
|
|
margin_left = 240.0
|
|
margin_top = -2.0
|
|
margin_right = 324.0
|
|
margin_bottom = 18.0
|
|
theme = ExtResource( 10 )
|
|
text = "2"
|
|
|
|
[node name="ArrowCounter" type="Label" parent="HUD"]
|
|
margin_left = 68.0
|
|
margin_top = -2.0
|
|
margin_right = 152.0
|
|
margin_bottom = 18.0
|
|
theme = ExtResource( 10 )
|
|
text = "0"
|
|
|
|
[node name="TimeCounter" type="Label" parent="HUD"]
|
|
margin_left = 1.0
|
|
margin_top = 178.0
|
|
margin_right = 57.0
|
|
margin_bottom = 198.0
|
|
theme = ExtResource( 10 )
|
|
text = "0:00:00"
|