28 lines
875 B
Plaintext
28 lines
875 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://c5a5u2c250g6"]
|
|
|
|
[ext_resource type="Script" uid="uid://c3vqmu6nc4gb0" path="res://scripts/player.gd" id="1_3vyb7"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"]
|
|
radius = 21.2132
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
script = ExtResource("1_3vyb7")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-2, 0)
|
|
shape = SubResource("CircleShape2D_8cj0n")
|
|
debug_color = Color(0.368579, 0.61578, 3.85046e-07, 0.42)
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(25, 0)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-29, 0)
|
|
|
|
[node name="RightSpawn" type="Node2D" parent="."]
|
|
position = Vector2(22, -9)
|
|
|
|
[node name="LeftSpawn" type="Node2D" parent="."]
|
|
position = Vector2(-30, -10)
|