27 lines
850 B
Plaintext
27 lines
850 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://cjqhmd3158nb7"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/dudecontroller.gd" id="1_u27sl"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_pg3nc"]
|
||
|
radius = 18.1108
|
||
|
|
||
|
[node name="CharacterBody2D" type="CharacterBody2D" groups=["player"]]
|
||
|
script = ExtResource("1_u27sl")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_pg3nc")
|
||
|
debug_color = Color(0.178776, 0.565003, 0.825276, 0.42)
|
||
|
|
||
|
[node name="RightRay" type="RayCast2D" parent="."]
|
||
|
target_position = Vector2(28, 0)
|
||
|
|
||
|
[node name="LeftRay" type="RayCast2D" parent="."]
|
||
|
target_position = Vector2(-29, -1)
|
||
|
|
||
|
[node name="RightTarget" type="Node2D" parent="."]
|
||
|
position = Vector2(23, -11)
|
||
|
|
||
|
[node name="LeftTarget" type="Node2D" parent="."]
|
||
|
position = Vector2(-24, -10)
|