29 lines
897 B
Plaintext
29 lines
897 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://5swv3kd5joaj"]
|
|
|
|
[ext_resource type="Script" uid="uid://6kq7f7nsuejr" path="res://Scripts/player.gd" id="1_li4wl"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
script = ExtResource("1_li4wl")
|
|
shove_power = 1000
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = -0.350821
|
|
shape = SubResource("CircleShape2D_2poj3")
|
|
debug_color = Color(0.764788, 0.66753, 0.0160379, 0.42)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(16, 0)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-16, 0)
|
|
|
|
[node name="RightSpawn" type="Node2D" parent="."]
|
|
position = Vector2(16, -3)
|
|
|
|
[node name="LeftSpawn" type="Node2D" parent="."]
|
|
position = Vector2(-15, -3)
|