AugGodotGameCourse/indigogameone/scenes/player.tscn
2024-09-09 21:08:24 -04:00

26 lines
803 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://b06r6vtllw0b7"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_5gbgu"]
[sub_resource type="CircleShape2D" id="CircleShape2D_gwwau"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_5gbgu")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_gwwau")
debug_color = Color(0.858824, 0.227451, 0.4, 0.909804)
[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(20, 0)
[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-19, 0)
[node name="MarkerRight" type="Node2D" parent="."]
position = Vector2(12, -5)
[node name="MarkerLeft" type="Node2D" parent="."]
position = Vector2(-12, -5)