30 lines
929 B
Plaintext
30 lines
929 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://c5qsdhrjyxbr1"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://crc2khytlo6r" path="res://Scripts/character_1.gd" id="1_v0iea"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_4vo57"]
|
||
|
|
||
|
[node name="Player" type="CharacterBody2D"]
|
||
|
position = Vector2(-21, -4)
|
||
|
script = ExtResource("1_v0iea")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2(21, 4)
|
||
|
shape = SubResource("CircleShape2D_4vo57")
|
||
|
debug_color = Color(0.021275, 0.650889, 0, 0.42)
|
||
|
|
||
|
[node name="Left Cast" type="RayCast2D" parent="."]
|
||
|
position = Vector2(21, 4)
|
||
|
target_position = Vector2(-45, 0)
|
||
|
|
||
|
[node name="Right Cast" type="RayCast2D" parent="."]
|
||
|
position = Vector2(21, 4)
|
||
|
target_position = Vector2(45, 0)
|
||
|
|
||
|
[node name="RightSpawn" type="Node2D" parent="."]
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="LeftSpawn" type="Node2D" parent="."]
|
||
|
metadata/_edit_group_ = true
|