25 lines
948 B
Plaintext
25 lines
948 B
Plaintext
[gd_scene format=3 uid="uid://bbascciqs68u"]
|
|||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://k5itsiku45rk" path="res://scripts/player.gd" id="1_3vyb7"]
|
||
|
|
|
||
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_daopg"]
|
||
|
|
|
||
|
|
[node name="Player" type="CharacterBody2D" unique_id=680748920]
|
||
|
|
script = ExtResource("1_3vyb7")
|
||
|
|
metadata/_edit_group_ = true
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=308149451]
|
||
|
|
shape = SubResource("CapsuleShape2D_daopg")
|
||
|
|
debug_color = Color(0.42452708, 0.6028724, 0.041758128, 0.41960785)
|
||
|
|
|
||
|
|
[node name="RightCast" type="RayCast2D" parent="." unique_id=1878095713]
|
||
|
|
target_position = Vector2(16, 0)
|
||
|
|
|
||
|
|
[node name="LeftCast" type="RayCast2D" parent="." unique_id=1441120401]
|
||
|
|
target_position = Vector2(-16, 0)
|
||
|
|
|
||
|
|
[node name="RightSpawn" type="Marker2D" parent="." unique_id=1621013334]
|
||
|
|
position = Vector2(16, -7)
|
||
|
|
|
||
|
|
[node name="LeftSpawn" type="Marker2D" parent="." unique_id=774488423]
|
||
|
|
position = Vector2(-16, -7)
|