NovemberGodotGame2024/novembergame/scenes/character.tscn

28 lines
868 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://b6vk2imhuhv0j"]
[ext_resource type="Script" path="res://scripts/dudecontroller.gd" id="1_esbkk"]
[sub_resource type="CircleShape2D" id="CircleShape2D_drde1"]
radius = 23.0
[node name="CharacterBody2D" type="CharacterBody2D" groups=["player"]]
script = ExtResource("1_esbkk")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = -0.0421956
shape = SubResource("CircleShape2D_drde1")
debug_color = Color(0.459127, 0.454101, 0.981072, 0.42)
[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(36, 0)
[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-36, 0)
[node name="RightTarget" type="Node2D" parent="."]
position = Vector2(23, -16)
[node name="LeftTarget" type="Node2D" parent="."]
position = Vector2(-23, -16)