GodotFirstGame/scenes/player.tscn

26 lines
773 B
Plaintext
Raw Permalink Normal View History

2024-09-10 01:14:16 +00:00
[gd_scene load_steps=3 format=3 uid="uid://1r61y5ig6l0t"]
[ext_resource type="Script" path="res://scripts/CharacterBody2D.gd" id="1_oi3ai"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"]
radius = 13.0384
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_oi3ai")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_ubfw4")
[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(30, 0)
[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-34, 0)
[node name="MarkerRight" type="Node2D" parent="."]
position = Vector2(15, -5)
[node name="MarkerLeft" type="Node2D" parent="."]
position = Vector2(-15, -5)