2020-07-24 11:49:43 +00:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2020-07-06 12:38:05 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://Graphics/tgstation/sprites/Player.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://Actors/Player/Player.gd" type="Script" id=2]
|
2020-07-24 11:49:43 +00:00
|
|
|
[ext_resource path="res://Actors/Player/BodyPart.gd" type="Script" id=3]
|
2020-07-06 12:38:05 +00:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
|
|
radius = 10.4436
|
|
|
|
height = 5.44386
|
|
|
|
|
2020-07-20 13:04:56 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
|
|
extents = Vector2( 32, 32 )
|
|
|
|
|
2020-07-06 12:38:05 +00:00
|
|
|
[node name="Player" type="KinematicBody2D"]
|
2020-07-10 08:45:57 +00:00
|
|
|
z_index = 10
|
2020-07-13 23:59:57 +00:00
|
|
|
collision_layer = 8
|
2020-07-06 12:38:05 +00:00
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Camera" type="Camera2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Sprite" parent="." instance=ExtResource( 1 )]
|
|
|
|
position = Vector2( 0, -3 )
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
2020-07-20 13:04:56 +00:00
|
|
|
|
|
|
|
[node name="Earing" type="Area2D" parent="."]
|
2020-07-22 15:34:04 +00:00
|
|
|
input_pickable = false
|
2020-07-20 13:04:56 +00:00
|
|
|
collision_layer = 32
|
|
|
|
collision_mask = 32
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Earing"]
|
|
|
|
shape = SubResource( 2 )
|
2020-07-24 11:49:43 +00:00
|
|
|
|
|
|
|
[node name="BodyParts" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Head" type="Node2D" parent="BodyParts"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="Torso" type="Node2D" parent="BodyParts"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="LeftArm" type="Node2D" parent="BodyParts"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="RightArm" type="Node2D" parent="BodyParts"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="LeftLeg" type="Node2D" parent="BodyParts"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="RightLeg" type="Node2D" parent="BodyParts"]
|
|
|
|
script = ExtResource( 3 )
|