Made some changes :)
This commit is contained in:
parent
038935709f
commit
8f6a068eba
76 changed files with 889 additions and 36 deletions
113
objects/hud/hud.tscn
Normal file
113
objects/hud/hud.tscn
Normal file
|
@ -0,0 +1,113 @@
|
|||
[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="HUD" type="Control"]
|
||||
margin_top = 1.0
|
||||
margin_bottom = 1.0
|
||||
script = ExtResource( 6 )
|
||||
|
||||
[node name="Back" type="Sprite" parent="."]
|
||||
position = Vector2( 128, 8 )
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="GoldCounter" type="Label" parent="."]
|
||||
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="."]
|
||||
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="."]
|
||||
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="."]
|
||||
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="."]
|
||||
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="."]
|
||||
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="."]
|
||||
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="."]
|
||||
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="."]
|
||||
margin_left = 180.0
|
||||
margin_top = 1.0
|
||||
margin_right = 264.0
|
||||
margin_bottom = 21.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "000000"
|
Loading…
Add table
Add a link
Reference in a new issue