25 lines
818 B
Plaintext
25 lines
818 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://b1yy0sybg66hh"]
|
|
|
|
[ext_resource type="Script" uid="uid://bpcy1rfota5tu" path="res://scripts/player.gd" id="1_3vyb7"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_3vyb7"]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
script = ExtResource("1_3vyb7")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_3vyb7")
|
|
debug_color = Color(0.46210045, 0.5883958, 0.21709043, 0.41960785)
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(15, 0)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-14, 0)
|
|
|
|
[node name="RightSpawn" type="Marker2D" parent="."]
|
|
position = Vector2(15, -10)
|
|
|
|
[node name="LeftSpawn" type="Marker2D" parent="."]
|
|
position = Vector2(-14, -10)
|