-
Notifications
You must be signed in to change notification settings - Fork 0
/
worB851.tmp
101 lines (74 loc) · 3.12 KB
/
worB851.tmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[gd_scene load_steps=6 format=3 uid="uid://do22481lkikj4"]
[ext_resource type="PackedScene" uid="uid://dl87mh7qsw6k8" path="res://Player/Player.tscn" id="1_lncut"]
[ext_resource type="PackedScene" uid="uid://0atdjje5eqt4" path="res://Player/Fish1.tscn" id="2_aqg1q"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xhyay"]
size = Vector2(362, 86)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hlqli"]
size = Vector2(110, 448)
[sub_resource type="GDScript" id="GDScript_7x0kd"]
script/source = "extends Label
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
text = \"HP:\" + str(get.node(\"../../Player\").health)
"
[node name="World" type="Node2D"]
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(181, 407)
shape = SubResource("RectangleShape2D_xhyay")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(181, 407)
shape = SubResource("RectangleShape2D_xhyay")
[node name="CollisionShape2D7" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(181, 407)
shape = SubResource("RectangleShape2D_xhyay")
[node name="CollisionShape2D8" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(465, 174)
shape = SubResource("RectangleShape2D_xhyay")
[node name="CollisionShape2D5" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(537, 579)
shape = SubResource("RectangleShape2D_xhyay")
[node name="CollisionShape2D6" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(537, 579)
shape = SubResource("RectangleShape2D_xhyay")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-58, 226)
shape = SubResource("RectangleShape2D_hlqli")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(777, 224)
shape = SubResource("RectangleShape2D_hlqli")
[node name="Panel" type="Panel" parent="."]
offset_left = 357.0
offset_top = 534.0
offset_right = 720.0
offset_bottom = 622.0
[node name="Panel2" type="Panel" parent="."]
offset_top = 363.0
offset_right = 363.0
offset_bottom = 451.0
[node name="Panel3" type="Panel" parent="."]
offset_left = 283.0
offset_top = 130.0
offset_right = 646.0
offset_bottom = 218.0
[node name="Player" type="Node2D" parent="."]
[node name="Player" parent="Player" instance=ExtResource("1_lncut")]
position = Vector2(363, 81)
[node name="Mobs" type="Node2D" parent="."]
[node name="Fish1" parent="Mobs" instance=ExtResource("2_aqg1q")]
position = Vector2(487, 75)
[node name="UI" type="CanvasLayer" parent="."]
[node name="Hp" type="Label" parent="UI"]
offset_left = 23.0
offset_top = 18.0
offset_right = 168.0
offset_bottom = 78.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 24
text = "HP"
script = SubResource("GDScript_7x0kd")
theme_override_font_sizes/font_size = 24
theme_override_colors/font_color = Color(0, 0, 0, 1)