[gd_scene load_steps=10 format=3 uid="uid://cqcjan67wgkc1"] [ext_resource type="Script" path="res://Player/BasicCharacter/CharacterController.gd" id="1_c5ycp"] [ext_resource type="Script" path="res://Player/BasicCharacter/SoundScript.gd" id="3_ursor"] [ext_resource type="AudioStream" uid="uid://d1rabaeyx578u" path="res://Player/BasicCharacter/Sounds/WallSlide/WallSlide.wav" id="4_s3e0l"] [ext_resource type="Script" path="res://Player/BasicCharacter/Sounds/WallSlide/WallslideSound.gd" id="5_rp7we"] [ext_resource type="AudioStream" uid="uid://d2hkg80n611cw" path="res://Player/BasicCharacter/Sounds/Landed.wav" id="6_7h6ch"] [ext_resource type="AudioStream" uid="uid://ditim46yxen6i" path="res://Player/BasicCharacter/Sounds/SquishSound.wav" id="7_mp1ed"] [ext_resource type="PackedScene" uid="uid://bl4g0ao3b8b6p" path="res://Player/BasicCharacter/sprite.tscn" id="8_pl8jo"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_67e7r"] size = Vector2(16, 16) [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("RectangleShape2D_67e7r") [node name="SquishDetection" type="Area2D" parent="."] [node name="CircleCollider" type="CollisionShape2D" parent="SquishDetection"] shape = SubResource("CircleShape2D_mnfw7") [node name="Sounds" type="Node2D" parent="."] script = ExtResource("3_ursor") [node name="WallslideSound" type="AudioStreamPlayer2D" parent="Sounds"] stream = ExtResource("4_s3e0l") volume_db = -10.0 script = ExtResource("5_rp7we") [node name="Landing" type="AudioStreamPlayer2D" parent="Sounds"] stream = ExtResource("6_7h6ch") [node name="Squish" type="AudioStreamPlayer2D" parent="Sounds"] stream = ExtResource("7_mp1ed") [node name="Sprite" parent="." instance=ExtResource("8_pl8jo")] self_modulate = Color(1, 0, 0, 1) [connection signal="Jumped" from="." to="Sounds" method="_on_character_jumped"] [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"]