2025-09-30 01:10:58 +00:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://d3y1iqmpknpyo"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://d3hp5rjoph7hg" path="res://scripts/player.gd" id="1_3vyb7"]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_3vyb7"]
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
|
|
script = ExtResource("1_3vyb7")
|
|
|
|
BUMP_POWER = 200
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CapsuleShape2D_3vyb7")
|
2025-10-07 00:57:11 +00:00
|
|
|
debug_color = Color(0.52156866, 0.57254905, 0, 1)
|
|
|
|
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="."]
|
|
|
|
target_position = Vector2(50, 0)
|
|
|
|
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
|
|
|
target_position = Vector2(-50, 0)
|
|
|
|
|
|
|
|
[node name="RightSpawn" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(10, -4)
|
|
|
|
|
|
|
|
[node name="LeftSpawn" type="Marker2D" parent="."]
|
|
|
|
position = Vector2(-10, -4)
|