JuneGame/scenes/player.tscn
2025-06-10 10:13:01 -04:00

26 lines
842 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dgf4ypom7mnn4"]
[ext_resource type="Script" uid="uid://dmyw2bn6gnbbv" path="res://scripts/character_body_2d.gd" id="1_4flbx"]
[sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_4flbx")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_8cj0n")
debug_color = Color(0.365399, 0.613218, 0.181601, 0.42)
[node name="RightCast" type="RayCast2D" parent="."]
target_position = Vector2(13, 0)
[node name="Left cast" type="RayCast2D" parent="."]
target_position = Vector2(-13, 0)
[node name="RightSpawn" type="Node2D" parent="."]
position = Vector2(14, -8)
[node name="LeftSpawn" type="Node2D" parent="."]
position = Vector2(-14, -8)