26 lines
830 B
Plaintext
26 lines
830 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cgk1d1f5ffbbd"]
|
|
|
|
[ext_resource type="Script" uid="uid://dmchcjip7pcfj" path="res://scripts/player.gd" id="1_3vyb7"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ryu2m"]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
script = ExtResource("1_3vyb7")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_ryu2m")
|
|
debug_color = Color(0.287381, 0.616681, 0.378827, 0.42)
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(16, 0)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-16, 0)
|
|
|
|
[node name="RightSpawn" type="Node2D" parent="."]
|
|
position = Vector2(12, -5)
|
|
|
|
[node name="LeftSpawn" type="Node2D" parent="."]
|
|
position = Vector2(-13, -5)
|