2022-02-03 15:50:32 +01:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2022-01-30 23:20:50 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://player/NetworkedPlayer.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="EntityResourceHealth" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="EntityResourceSpeed" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id=3]
|
|
|
|
radius = 20.0
|
|
|
|
|
|
|
|
[node name="NetworkedPlayer" type="Entity"]
|
|
|
|
body_path = NodePath("KinematicBody2D")
|
|
|
|
sresources = [ SubResource( 1 ), SubResource( 2 ) ]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="NamePlate" parent="." instance=ExtResource( 2 )]
|
|
|
|
|
|
|
|
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
|
|
|
|
shape = SubResource( 3 )
|