JanuaryGodotGame/januaryproject/scenes/player.tscn

26 lines
820 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://xq3wqrcyvdhn"]
[ext_resource type="Script" path="res://scripts/charactercontroller.gd" id="1_kf287"]
[sub_resource type="CircleShape2D" id="CircleShape2D_qrixx"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_kf287")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_qrixx")
debug_color = Color(0.345561, 0.615334, 0.230675, 0.42)
[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(16, -1)
[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-16, -1)
[node name="RightTarget" type="Node2D" parent="."]
position = Vector2(15, -10)
[node name="LeftTarget" type="Node2D" parent="."]
position = Vector2(-15, -10)