28 lines
810 B
Plaintext
28 lines
810 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://go4yc8hfo1gq"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/CharacterBody2D.gd" id="1_x87yo"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"]
|
|
radius = 13.0384
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
position = Vector2(-1, 0)
|
|
script = ExtResource("1_x87yo")
|
|
JUMP_VELOCITY = -500.0
|
|
PUSH_FORCE = 200
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_ubfw4")
|
|
|
|
[node name="RightRay" type="RayCast2D" parent="."]
|
|
target_position = Vector2(25, 0)
|
|
|
|
[node name="LeftRay" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-25, 0)
|
|
|
|
[node name="MarkerRight" type="Node2D" parent="."]
|
|
position = Vector2(17, -9)
|
|
|
|
[node name="MarkerLeft" type="Node2D" parent="."]
|
|
position = Vector2(-16, -6)
|