broken_seals_2d/game/player/Player.tscn

31 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://characters/Character.tscn" type="PackedScene" id=1]
[ext_resource path="res://player/Player.gd" type="Script" id=2]
[ext_resource path="res://ui/player_ui/player_ui.tscn" type="PackedScene" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 8.0
[node name="Player" type="Entity" groups=[
"players",
]]
body_path = NodePath("Body")
character_skeleton_path = NodePath("Body/Character")
script = ExtResource( 2 )
[node name="GUILayer" parent="." instance=ExtResource( 3 )]
[node name="Body" type="KinematicBody2D" parent="."]
[node name="Character" parent="Body" instance=ExtResource( 1 )]
front_node_path = NodePath("../../Body/Character/CharacterFrontModel")
side_node_path = NodePath("../../Body/Character/CharacterSideModel")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Body"]
shape = SubResource( 1 )
[node name="Camera" type="Camera2D" parent="Body"]
current = true
[connection signal="onc_open_loot_winow_request" from="." to="GUILayer" method="_on_Player_onc_open_loot_winow_request"]