28 lines
863 B
Plaintext
28 lines
863 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://djgtbc1quqvwe"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scripts/dudecontroller.gd" id="1_ay2gi"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_iice4"]
|
||
|
radius = 6.32456
|
||
|
|
||
|
[node name="CharacterBody2D" type="CharacterBody2D" groups=["player"]]
|
||
|
script = ExtResource("1_ay2gi")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_iice4")
|
||
|
debug_color = Color(0.598404, 0.370441, 1, 0.42)
|
||
|
|
||
|
[node name="RightRay" type="RayCast2D" parent="."]
|
||
|
target_position = Vector2(15, 0)
|
||
|
|
||
|
[node name="LeftRay" type="RayCast2D" parent="."]
|
||
|
position = Vector2(1, 0)
|
||
|
target_position = Vector2(-16, 0)
|
||
|
|
||
|
[node name="RightTarget" type="Node2D" parent="."]
|
||
|
position = Vector2(6, -5)
|
||
|
|
||
|
[node name="LeftTarget" type="Node2D" parent="."]
|
||
|
position = Vector2(-6, -5)
|