-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer.tscn
62 lines (49 loc) · 2.02 KB
/
player.tscn
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
[gd_scene load_steps=8 format=3 uid="uid://1ckc58w5sfxa"]
[ext_resource type="Script" path="res://player.gd" id="1_f3w3r"]
[ext_resource type="PackedScene" uid="uid://pbmyh1qru7p" path="res://characters/happy_boo/happy_boo.tscn" id="1_xxqtm"]
[ext_resource type="PackedScene" uid="uid://bvajltkcr3iin" path="res://gun.tscn" id="3_l16at"]
[sub_resource type="CircleShape2D" id="CircleShape2D_aueqq"]
radius = 35.0143
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_gc034"]
radius = 37.0
height = 118.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cljst"]
bg_color = Color(0.152941, 0.168627, 0.188235, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h2k5n"]
bg_color = Color(0.0745098, 0.964706, 0.223529, 1)
corner_radius_top_left = 8
corner_radius_top_right = 8
corner_radius_bottom_right = 8
corner_radius_bottom_left = 8
[node name="player" type="CharacterBody2D"]
script = ExtResource("1_f3w3r")
[node name="HappyBoo" parent="." instance=ExtResource("1_xxqtm")]
unique_name_in_owner = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_aueqq")
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(-1, -1)
[node name="Gun" parent="." instance=ExtResource("3_l16at")]
position = Vector2(-1, -31)
[node name="HurtBox" type="Area2D" parent="."]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtBox"]
position = Vector2(-3, -35)
shape = SubResource("CapsuleShape2D_gc034")
debug_color = Color(0.796078, 0.360784, 0.576471, 0.419608)
[node name="ProgressBar" type="ProgressBar" parent="."]
unique_name_in_owner = true
offset_left = -88.0
offset_top = -156.0
offset_right = 87.0
offset_bottom = -143.0
theme_override_styles/background = SubResource("StyleBoxFlat_cljst")
theme_override_styles/fill = SubResource("StyleBoxFlat_h2k5n")
value = 100.0
show_percentage = false