This commit is contained in:
2024-10-20 10:31:07 +02:00
parent fa51e53d7d
commit 0e9cdb9af5
12 changed files with 845 additions and 44 deletions

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=33 format=3 uid="uid://4ubk6w44h4s2"]
[gd_scene load_steps=34 format=3 uid="uid://4ubk6w44h4s2"]
[ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"]
[ext_resource type="Texture2D" uid="uid://bo4q2rvn056p3" path="res://model/PatrickIdle1.png" id="2_w2lj6"]
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="3_4cy24"]
[ext_resource type="PackedScene" uid="uid://co0u7xd45nxv1" path="res://scene/control/menu.tscn" id="3_6uvd0"]
[ext_resource type="Texture2D" uid="uid://cgql6fnplgyeo" path="res://model/Glitch1.png" id="3_kao8s"]
[ext_resource type="PackedScene" uid="uid://bq2yxcm55h7n8" path="res://scene/control/door_view.tscn" id="4_0vwed"]
@@ -356,7 +357,7 @@ _data = {
"up": SubResource("Animation_7twwg")
}
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu")]
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu", "time")]
position = Vector2(1, 1)
motion_mode = 1
script = ExtResource("1_gmlsd")
@@ -366,6 +367,8 @@ anim = NodePath("anim")
cam = NodePath("Camera2D")
bar = NodePath("diabetmeter")
menu = NodePath("Camera2D/menu")
minute_part_second = 0.5
time = NodePath("time")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -2.5)
@@ -375,6 +378,21 @@ shape = SubResource("RectangleShape2D_2homw")
position = Vector2(2, 1)
texture = ExtResource("2_w2lj6")
[node name="time" type="Label" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -25.0
offset_top = -118.0
offset_right = 21.0
offset_bottom = -90.0
grow_horizontal = 2
theme = ExtResource("3_4cy24")
theme_override_font_sizes/font_size = 26
text = "18:10"
horizontal_alignment = 1
vertical_alignment = 1
[node name="diabetmeter" type="TextureProgressBar" parent="."]
texture_filter = 1
anchors_preset = 15