30 lines
916 B
Plaintext
30 lines
916 B
Plaintext
[gd_scene format=3 uid="uid://boqs7k6ia532h"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://46vgqxp2imyw" path="res://assets/players/blue_guard.png" id="1_4flbx"]
|
|
[ext_resource type="Script" uid="uid://bs8r5rqnt33rf" path="res://scripts/player.gd" id="1_onrkg"]
|
|
|
|
[node name="Player" type="Node2D" unique_id=1267043713]
|
|
script = ExtResource("1_onrkg")
|
|
|
|
[node name="PlayerSprite" type="Sprite2D" parent="." unique_id=1692351563]
|
|
texture = ExtResource("1_4flbx")
|
|
|
|
[node name="PlayerNav" type="NavigationAgent2D" parent="." unique_id=1205813043]
|
|
avoidance_enabled = true
|
|
debug_enabled = true
|
|
|
|
[node name="PlayerNameLabel" type="Label" parent="." unique_id=1663612244]
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -48.0
|
|
offset_top = 24.0
|
|
offset_right = 47.0
|
|
offset_bottom = 47.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
text = "PlayerName"
|
|
horizontal_alignment = 1
|