33 lines
955 B
Text
33 lines
955 B
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[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]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
radius = 10.4436
|
|
height = 5.44386
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 32, 32 )
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
|
z_index = 10
|
|
collision_layer = 8
|
|
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 )
|
|
|
|
[node name="Earing" type="Area2D" parent="."]
|
|
monitorable = false
|
|
collision_layer = 32
|
|
collision_mask = 32
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Earing"]
|
|
shape = SubResource( 2 )
|
|
[connection signal="area_entered" from="Earing" to="." method="_heard"]
|