26 lines
841 B
Plaintext
26 lines
841 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bu8e4iyw8pc03"]
|
|
|
|
[ext_resource type="Script" uid="uid://dsryf6gxqcm1k" path="res://Scripts/character_body_2d.gd" id="1_0y7nr"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
script = ExtResource("1_0y7nr")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_2poj3")
|
|
debug_color = Color(0.613557, 0.363647, 0.991688, 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(17, -8)
|
|
|
|
[node name="LeftSpawn" type="Node2D" parent="."]
|
|
position = Vector2(-14, -9)
|