SeptemberGame/scenes/player.tscn

25 lines
816 B
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=3 format=3 uid="uid://b1yy0sybg66hh"]
[ext_resource type="Script" uid="uid://kv8w1gwuy3il" path="res://scripts/player.gd" id="1_3vyb7"]
[sub_resource type="CircleShape2D" id="CircleShape2D_3vyb7"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_3vyb7")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_3vyb7")
debug_color = Color(0.46677285, 0.59072345, 0.09206382, 0.41960785)
[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="Marker2D" parent="."]
position = Vector2(14, -8)
[node name="LeftSpawn" type="Marker2D" parent="."]
position = Vector2(-13, -8)