25 lines
718 B
Plaintext
25 lines
718 B
Plaintext
|
[gd_scene load_steps=4 format=3 uid="uid://6vl0c70v1gqs"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://cmrdtps7txgxx" path="res://scripts/player.gd" id="1_3vyb7"]
|
||
|
|
||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_rf3rd"]
|
||
|
radius = 21.0
|
||
|
height = 78.0
|
||
|
|
||
|
[sub_resource type="GDScript" id="GDScript_3vyb7"]
|
||
|
script/source = "extends RayCast2D
|
||
|
|
||
|
|
||
|
"
|
||
|
|
||
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
||
|
script = ExtResource("1_3vyb7")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CapsuleShape2D_rf3rd")
|
||
|
debug_color = Color(0.232329, 0.752878, 1.15514e-06, 0.42)
|
||
|
|
||
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
||
|
script = SubResource("GDScript_3vyb7")
|