hud
This commit is contained in:
@@ -1,20 +1,23 @@
|
||||
[gd_scene format=3 uid="uid://bef8re5x0kmmd"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c7vntfq6dyb2k" path="res://scenes/game/comet_zap.gd" id="1_eyb20"]
|
||||
[ext_resource type="Texture2D" uid="uid://dshpn3ffg3bch" path="res://original data/images/backgrounds/0.jpg" id="2_2j0xl"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0jndopqfkddu" path="res://assets/visual/backgrounds/omori/Battle Backgrounds/battleback_ow_outskirts.png" id="2_2j0xl"]
|
||||
[ext_resource type="AudioStream" uid="uid://b2l55uknctgo6" path="res://assets/audio/music/game/comet_zap/Ranma Nibun-no-ichi Bakuretsu Rantouhen - King's Casino [Qk0v_NIqVPg].mp3" id="2_ije4o"]
|
||||
[ext_resource type="AudioStream" uid="uid://ckr4pf3etle0p" path="res://assets/audio/sfx/SYS_cancel.ogg" id="4_2j0xl"]
|
||||
[ext_resource type="Texture2D" uid="uid://jd2rnhvq6gl6" path="res://original data/images/tux/tux-yes2.png" id="4_yib6v"]
|
||||
[ext_resource type="AudioStream" uid="uid://t6tbvilcrwy8" path="res://assets/audio/sfx/SE_Push.ogg" id="5_62k7v"]
|
||||
[ext_resource type="PackedScene" uid="uid://dm6jp4gjboooc" path="res://scenes/menus/pause/pause.tscn" id="6_cjaft"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_2j0xl"]
|
||||
font_size = 50
|
||||
|
||||
[node name="CometZap" type="Node2D" unique_id=1227404695]
|
||||
script = ExtResource("1_eyb20")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1005683026]
|
||||
[node name="Background" type="CanvasLayer" parent="." unique_id=1005683026]
|
||||
layer = -1
|
||||
|
||||
[node name="Control" type="Control" parent="CanvasLayer" unique_id=2022519285]
|
||||
[node name="Control" type="Control" parent="Background" unique_id=2022519285]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -23,7 +26,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Control" unique_id=308962101]
|
||||
[node name="TextureRect" type="TextureRect" parent="Background/Control" unique_id=308962101]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -52,6 +55,45 @@ texture = ExtResource("4_yib6v")
|
||||
|
||||
[node name="OnTop" type="CanvasLayer" parent="." unique_id=828008006]
|
||||
|
||||
[node name="HUD" type="Control" parent="OnTop" unique_id=2042422382]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Stack" type="BoxContainer" parent="OnTop/HUD" unique_id=1113890134]
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -366.0
|
||||
offset_bottom = 215.0
|
||||
grow_horizontal = 0
|
||||
vertical = true
|
||||
|
||||
[node name="Health" type="Label" parent="OnTop/HUD/Stack" unique_id=411589405]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 6
|
||||
text = "HP:"
|
||||
label_settings = SubResource("LabelSettings_2j0xl")
|
||||
|
||||
[node name="Accuracy" type="Label" parent="OnTop/HUD/Stack" unique_id=1592115024]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 6
|
||||
text = "ACC:"
|
||||
label_settings = SubResource("LabelSettings_2j0xl")
|
||||
|
||||
[node name="MissCount" type="Label" parent="OnTop/HUD/Stack" unique_id=1954191478]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 6
|
||||
text = "X:"
|
||||
label_settings = SubResource("LabelSettings_2j0xl")
|
||||
|
||||
[node name="Pause" parent="OnTop" unique_id=1227462733 instance=ExtResource("6_cjaft")]
|
||||
visible = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user