AugGodotGameCourse/augustgamecourse/scenes/player.tscn

26 lines
804 B
Plaintext
Raw Normal View History

2024-09-10 01:02:01 +00:00
[gd_scene load_steps=3 format=3 uid="uid://dbgc24hrbtvxm"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_5qpif"]
[sub_resource type="CircleShape2D" id="CircleShape2D_mcosy"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_5qpif")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_mcosy")
debug_color = Color(0.826895, 0.282133, 0.703752, 0.42)
[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(16, 0)
[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-17, 0)
[node name="MarkerRight" type="Node2D" parent="."]
position = Vector2(12, -5)
[node name="MarkerLeft" type="Node2D" parent="."]
position = Vector2(-15, -5)