-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer.tscn
59 lines (46 loc) · 1.94 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
[gd_scene load_steps=8 format=3 uid="uid://f16a8u17yj3t"]
[ext_resource type="Script" path="res://player.gd" id="1_bdmf5"]
[ext_resource type="PackedScene" uid="uid://pbmyh1qru7p" path="res://characters/happy_boo/happy_boo.tscn" id="1_gngvw"]
[ext_resource type="PackedScene" uid="uid://cjkmfijidi20t" path="res://gun.tscn" id="3_cbshl"]
[sub_resource type="CircleShape2D" id="CircleShape2D_bh0em"]
radius = 30.0
[sub_resource type="CircleShape2D" id="CircleShape2D_2yxp1"]
radius = 34.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mulv6"]
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_5i6il"]
bg_color = Color(0.270551, 0.701736, 0.365892, 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_bdmf5")
[node name="HappyBoo" parent="." instance=ExtResource("1_gngvw")]
unique_name_in_owner = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_bh0em")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="Gun" parent="." instance=ExtResource("3_cbshl")]
position = Vector2(0, -28)
[node name="HurtBox" type="Area2D" parent="."]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="HurtBox"]
shape = SubResource("CircleShape2D_2yxp1")
debug_color = Color(0.991103, 0, 0.269919, 0.42)
[node name="ProgressBar" type="ProgressBar" parent="."]
unique_name_in_owner = true
offset_left = -83.0
offset_top = -145.0
offset_right = 92.0
offset_bottom = -124.0
theme_override_styles/background = SubResource("StyleBoxFlat_mulv6")
theme_override_styles/fill = SubResource("StyleBoxFlat_5i6il")
value = 100.0
show_percentage = false