2021-02-21 16:45:04 +01:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2019-12-20 14:28:26 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://player/NetworkedPlayer.gd" type="Script" id=1]
|
2020-07-08 23:25:40 +02:00
|
|
|
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=2]
|
2022-02-27 01:12:12 +01:00
|
|
|
[ext_resource path="res://sprites/characters/Character.tscn" type="PackedScene" id=3]
|
2019-12-20 14:28:26 +01:00
|
|
|
|
2021-02-21 16:45:04 +01:00
|
|
|
[sub_resource type="EntityResourceHealth" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="EntityResourceSpeed" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id=3]
|
2019-12-20 19:32:43 +01:00
|
|
|
radius = 20.0
|
2019-12-20 14:28:26 +01:00
|
|
|
|
|
|
|
[node name="NetworkedPlayer" type="Entity"]
|
2020-01-04 04:16:52 +01:00
|
|
|
body_path = NodePath("KinematicBody2D")
|
|
|
|
character_skeleton_path = NodePath("KinematicBody2D/Character")
|
2021-02-21 16:45:04 +01:00
|
|
|
sresources = [ SubResource( 1 ), SubResource( 2 ) ]
|
2019-12-20 14:28:26 +01:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2020-07-08 23:25:40 +02:00
|
|
|
[node name="NamePlate" parent="." instance=ExtResource( 2 )]
|
2019-12-20 14:28:26 +01:00
|
|
|
|
2020-01-04 04:16:52 +01:00
|
|
|
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
|
2019-12-20 14:28:26 +01:00
|
|
|
|
2020-01-04 04:16:52 +01:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
|
2021-02-21 16:45:04 +01:00
|
|
|
shape = SubResource( 3 )
|
2020-01-04 04:16:52 +01:00
|
|
|
|
2020-07-08 23:25:40 +02:00
|
|
|
[node name="Character" parent="KinematicBody2D" instance=ExtResource( 3 )]
|