ed-april-game/scenes/player.tscn

20 lines
755 B
Plaintext
Raw Normal View History

2026-04-28 01:06:17 +00:00
[gd_scene format=3 uid="uid://bhsvqyhsemekq"]
[ext_resource type="Script" uid="uid://dlmf1p0vfitcx" path="res://scripts/player.gd" id="1_3vyb7"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_elsnr"]
[node name="player" type="CharacterBody2D" unique_id=395957349]
script = ExtResource("1_3vyb7")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2113735481]
shape = SubResource("CapsuleShape2D_elsnr")
debug_color = Color(0.33339813, 0.6108008, 0.35667416, 0.41960785)
[node name="raycastRight" type="RayCast2D" parent="." unique_id=1050681815]
target_position = Vector2(20, 0)
[node name="raycastLeft" type="RayCast2D" parent="." unique_id=1511802462]
target_position = Vector2(-20, 0)