[gd_scene load_steps=4 format=3 uid="uid://d21spw8y5yiuu"] [ext_resource type="Script" path="res://character/character.gd" id="1_wqxem"] [ext_resource type="SpriteFrames" uid="uid://cvbw222po7psr" path="res://character/character_sprite_frames.tres" id="2_xbkcg"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_wfm33"] size = Vector2(12, 12) [node name="Character" type="Node2D"] script = ExtResource("1_wqxem") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(-10, -10) sprite_frames = ExtResource("2_xbkcg") animation = &"paper_walk" centered = false [node name="Collision" type="Area2D" parent="."] collision_layer = 0 collision_mask = 256 [node name="CollisionShape2D" type="CollisionShape2D" parent="Collision"] shape = SubResource("RectangleShape2D_wfm33") [node name="RayLeft" type="RayCast2D" parent="."] target_position = Vector2(-8, 0) collision_mask = 256 [node name="RayRight" type="RayCast2D" parent="."] target_position = Vector2(8, 0) collision_mask = 256 [node name="RayUpLeft" type="RayCast2D" parent="."] position = Vector2(-6, 0) target_position = Vector2(0, -10) collision_mask = 256 [node name="RayUpRight" type="RayCast2D" parent="."] position = Vector2(6, 0) target_position = Vector2(0, -10) collision_mask = 256 [node name="RayDownLeft" type="RayCast2D" parent="."] position = Vector2(-6, 0) target_position = Vector2(0, 9) collision_mask = 768 [node name="RayDownRight" type="RayCast2D" parent="."] position = Vector2(6, 0) target_position = Vector2(0, 9) collision_mask = 768