38 lines
1008 B
Plaintext
38 lines
1008 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://3nr0vpkyyy0y"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/dungeon/player.gd" id="1"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_collision"]
|
|
radius = 14.0
|
|
|
|
[node name="Player" type="Node2D"]
|
|
script = ExtResource("1")
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite2D" parent="."]
|
|
scale = Vector2(2, 2)
|
|
|
|
[node name="AimLine" type="Line2D" parent="."]
|
|
width = 3.0
|
|
default_color = Color(0.533, 1, 0.667, 1)
|
|
|
|
[node name="NameLabel" type="Label" parent="."]
|
|
offset_left = -50.0
|
|
offset_top = -35.0
|
|
offset_right = 50.0
|
|
offset_bottom = -20.0
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="HealthBar" type="ProgressBar" parent="."]
|
|
offset_left = -20.0
|
|
offset_top = 18.0
|
|
offset_right = 20.0
|
|
offset_bottom = 25.0
|
|
value = 100.0
|
|
show_percentage = false
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
|
shape = SubResource("CircleShape2D_collision")
|