GrappleTest/Player/BasicCharacter/Character.tscn
2024-03-13 16:15:55 -05:00

28 lines
1.1 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://cqcjan67wgkc1"]
[ext_resource type="Script" path="res://Player/BasicCharacter/CharacterController.gd" id="1_c5ycp"]
[sub_resource type="CircleShape2D" id="CircleShape2D_jbiem"]
radius = 8.0
[sub_resource type="CircleShape2D" id="CircleShape2D_mnfw7"]
radius = 4.0
[node name="Character" type="CharacterBody2D"]
collision_layer = 3
floor_stop_on_slope = false
floor_snap_length = 3.0
platform_on_leave = 2
script = ExtResource("1_c5ycp")
savedInputsPath = "res://Player/Ghosts/GhostData/testGhostRecording.res"
[node name="CircleCollider" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_jbiem")
[node name="SquishDetection" type="Area2D" parent="."]
[node name="CircleCollider" type="CollisionShape2D" parent="SquishDetection"]
shape = SubResource("CircleShape2D_mnfw7")
[connection signal="body_shape_entered" from="SquishDetection" to="." method="_on_squish_detection_body_shape_entered"]
[connection signal="body_shape_exited" from="SquishDetection" to="." method="_on_squish_detection_body_shape_exited"]