GrappleTest/Player/BasicCharacter/Character.tscn

29 lines
1.1 KiB
Text
Raw Normal View History

2024-03-13 16:15:55 -05:00
[gd_scene load_steps=4 format=3 uid="uid://cqcjan67wgkc1"]
2024-02-22 00:10:13 -06:00
[ext_resource type="Script" path="res://Player/BasicCharacter/CharacterController.gd" id="1_c5ycp"]
2024-02-24 12:12:57 -06:00
[sub_resource type="CircleShape2D" id="CircleShape2D_jbiem"]
radius = 8.0
2024-03-13 16:15:55 -05:00
[sub_resource type="CircleShape2D" id="CircleShape2D_mnfw7"]
radius = 4.0
2024-02-22 00:10:13 -06:00
[node name="Character" type="CharacterBody2D"]
2024-03-13 16:15:55 -05:00
collision_layer = 3
2024-02-26 08:28:11 -06:00
floor_stop_on_slope = false
2024-02-24 12:12:57 -06:00
floor_snap_length = 3.0
2024-03-13 16:15:55 -05:00
platform_on_leave = 2
2024-02-22 00:10:13 -06:00
script = ExtResource("1_c5ycp")
2024-03-13 16:15:55 -05:00
savedInputsPath = "res://Player/Ghosts/GhostData/testGhostRecording.res"
2024-02-22 00:10:13 -06:00
2024-03-13 16:15:55 -05:00
[node name="CircleCollider" type="CollisionShape2D" parent="."]
2024-02-24 12:12:57 -06:00
shape = SubResource("CircleShape2D_jbiem")
2024-03-13 16:15:55 -05:00
[node name="SquishDetection" type="Area2D" parent="."]
2024-02-26 08:28:11 -06:00
2024-03-13 16:15:55 -05:00
[node name="CircleCollider" type="CollisionShape2D" parent="SquishDetection"]
shape = SubResource("CircleShape2D_mnfw7")
2024-02-26 08:28:11 -06:00
2024-03-13 16:15:55 -05:00
[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"]