forked from team-sg/hero-mark-2
124 lines
3.5 KiB
Text
124 lines
3.5 KiB
Text
[gd_scene load_steps=16 format=2]
|
|
|
|
[ext_resource path="res://scripts/recolor.tres" type="Shader" id=1]
|
|
[ext_resource path="res://graphics/collectibles/pal_star_yellow.png" type="Texture" id=2]
|
|
[ext_resource path="res://graphics/hud/hud.png" type="Texture" id=3]
|
|
[ext_resource path="res://graphics/collectibles/star.png" type="Texture" id=4]
|
|
[ext_resource path="res://graphics/collectibles/pal_star_red.png" type="Texture" id=5]
|
|
[ext_resource path="res://objects/hud/hud.gd" type="Script" id=6]
|
|
[ext_resource path="res://graphics/collectibles/pal_star_green.png" type="Texture" id=7]
|
|
[ext_resource path="res://graphics/collectibles/pal_star_blue.png" type="Texture" id=8]
|
|
[ext_resource path="res://graphics/collectibles/pal_star_magenta.png" type="Texture" id=9]
|
|
[ext_resource path="res://scripts/theme.tres" type="Theme" id=10]
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
shader = ExtResource( 1 )
|
|
shader_param/palette = ExtResource( 5 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
shader = ExtResource( 1 )
|
|
shader_param/palette = ExtResource( 2 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
shader = ExtResource( 1 )
|
|
shader_param/palette = ExtResource( 7 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=4]
|
|
shader = ExtResource( 1 )
|
|
shader_param/palette = ExtResource( 8 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=5]
|
|
shader = ExtResource( 1 )
|
|
shader_param/palette = ExtResource( 9 )
|
|
|
|
[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, 8 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="GoldCounter" type="Label" parent="HUD"]
|
|
margin_left = 14.0
|
|
margin_top = 1.0
|
|
margin_right = 54.0
|
|
margin_bottom = 21.0
|
|
theme = ExtResource( 10 )
|
|
text = "000"
|
|
|
|
[node name="ShardCounter" type="Label" parent="HUD"]
|
|
margin_left = 53.0
|
|
margin_top = 1.0
|
|
margin_right = 93.0
|
|
margin_bottom = 21.0
|
|
theme = ExtResource( 10 )
|
|
text = "00"
|
|
|
|
[node name="RedStar" type="Sprite" parent="HUD"]
|
|
visible = false
|
|
material = SubResource( 1 )
|
|
position = Vector2( 79, 8 )
|
|
texture = ExtResource( 4 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 11, 11 )
|
|
|
|
[node name="YellowStar" type="Sprite" parent="HUD"]
|
|
visible = false
|
|
material = SubResource( 2 )
|
|
position = Vector2( 92, 8 )
|
|
texture = ExtResource( 4 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 11, 11 )
|
|
|
|
[node name="GreenStar" type="Sprite" parent="HUD"]
|
|
visible = false
|
|
material = SubResource( 3 )
|
|
position = Vector2( 105, 8 )
|
|
texture = ExtResource( 4 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 11, 11 )
|
|
|
|
[node name="BlueStar" type="Sprite" parent="HUD"]
|
|
visible = false
|
|
material = SubResource( 4 )
|
|
position = Vector2( 118, 8 )
|
|
texture = ExtResource( 4 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 11, 11 )
|
|
|
|
[node name="MagentaStar" type="Sprite" parent="HUD"]
|
|
visible = false
|
|
material = SubResource( 5 )
|
|
position = Vector2( 131, 8 )
|
|
texture = ExtResource( 4 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 11, 11 )
|
|
|
|
[node name="ScoreText" type="Label" parent="HUD"]
|
|
margin_left = 142.0
|
|
margin_top = 1.0
|
|
margin_right = 226.0
|
|
margin_bottom = 21.0
|
|
theme = ExtResource( 10 )
|
|
text = "SCORE:"
|
|
|
|
[node name="ScoreCounter" type="Label" parent="HUD"]
|
|
margin_left = 180.0
|
|
margin_top = 1.0
|
|
margin_right = 264.0
|
|
margin_bottom = 21.0
|
|
theme = ExtResource( 10 )
|
|
text = "000000"
|
|
|
|
[node name="ArrowCounter" type="Label" parent="HUD"]
|
|
margin_left = 237.0
|
|
margin_top = 1.0
|
|
margin_right = 321.0
|
|
margin_bottom = 21.0
|
|
theme = ExtResource( 10 )
|
|
text = "00"
|