better spawn, heart ui, dash, new map
This commit is contained in:
parent
ce27965422
commit
34be761164
16 changed files with 137 additions and 171 deletions
7
ui/heart.gd
Normal file
7
ui/heart.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class_name HealthHeart extends TextureRect
|
||||
|
||||
func set_full():
|
||||
texture.region = Rect2(0, 96, 0, 32)
|
||||
|
||||
func set_empty():
|
||||
texture.region = Rect2(0, 0, 0, 32)
|
||||
1
ui/heart.gd.uid
Normal file
1
ui/heart.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://xax2m3yjnmxq
|
||||
|
|
@ -7,13 +7,22 @@
|
|||
[ext_resource type="Texture2D" uid="uid://bng412si6gw5w" path="res://ui/healt_bar.png" id="7_np4cb"]
|
||||
[ext_resource type="Script" uid="uid://cj6pb1828dcfr" path="res://scripts/health_bar.gd" id="8_8fqmc"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6f7s7bsitw13" path="res://ui/settings_menu.tscn" id="8_14s75"]
|
||||
[ext_resource type="Script" uid="uid://xax2m3yjnmxq" path="res://ui/heart.gd" id="8_vi4d2"]
|
||||
[ext_resource type="Texture2D" uid="uid://efh5dlhsxsnq" path="res://ui/bar_under.png" id="9_fl7ai"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdi1ga46vj8lt" path="res://ui/bar_progress.png" id="10_iwd8l"]
|
||||
[ext_resource type="Script" uid="uid://cqrqqn2p0h0kb" path="res://scripts/mask_bar.gd" id="11_01h74"]
|
||||
[ext_resource type="Script" uid="uid://dgxs6odxyi6s4" path="res://scripts/dmg_flash.gd" id="12_vi4d2"]
|
||||
[ext_resource type="Shader" uid="uid://djbssih1prixl" path="res://shaders/post_processing.gdshader" id="13_1evs6"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dhpj7"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vi4d2"]
|
||||
atlas = ExtResource("7_np4cb")
|
||||
region = Rect2(0, 96, 0, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1evs6"]
|
||||
atlas = ExtResource("7_np4cb")
|
||||
region = Rect2(0, 96, 0, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_umou3"]
|
||||
atlas = ExtResource("7_np4cb")
|
||||
region = Rect2(0, 96, 0, 32)
|
||||
|
||||
|
|
@ -89,11 +98,27 @@ texture_under = ExtResource("9_fl7ai")
|
|||
texture_progress = ExtResource("10_iwd8l")
|
||||
script = ExtResource("11_01h74")
|
||||
|
||||
[node name="HealthBar" type="TextureRect" parent="UI/PlayerStat" unique_id=1431196763]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="UI/PlayerStat" unique_id=2071372228]
|
||||
layout_mode = 2
|
||||
script = ExtResource("8_8fqmc")
|
||||
|
||||
[node name="Heart" type="TextureRect" parent="UI/PlayerStat/HBoxContainer" unique_id=1431196763]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = SubResource("AtlasTexture_dhpj7")
|
||||
script = ExtResource("8_8fqmc")
|
||||
texture = SubResource("AtlasTexture_vi4d2")
|
||||
script = ExtResource("8_vi4d2")
|
||||
|
||||
[node name="Heart2" type="TextureRect" parent="UI/PlayerStat/HBoxContainer" unique_id=415318443]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = SubResource("AtlasTexture_1evs6")
|
||||
script = ExtResource("8_vi4d2")
|
||||
|
||||
[node name="Heart3" type="TextureRect" parent="UI/PlayerStat/HBoxContainer" unique_id=1779405800]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = SubResource("AtlasTexture_umou3")
|
||||
script = ExtResource("8_vi4d2")
|
||||
|
||||
[node name="SettingsMenu" parent="UI" unique_id=478838648 instance=ExtResource("8_14s75")]
|
||||
layout_mode = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue