26 lines
834 B
Plaintext
26 lines
834 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bbg4idgjqm8wr"]
|
|
|
|
[ext_resource type="Script" uid="uid://r3vurapv33hu" path="res://scripts/player.gd" id="1_3vyb7"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"]
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
script = ExtResource("1_3vyb7")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_8cj0n")
|
|
debug_color = Color(0, 0.64833, 0.184337, 0.42)
|
|
|
|
[node name="RightCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(27, 0)
|
|
|
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
|
target_position = Vector2(-28, 0)
|
|
|
|
[node name="BulletSpawnPointRight" type="Node2D" parent="."]
|
|
position = Vector2(13, -6)
|
|
|
|
[node name="BulletSpawnPointLeft" type="Node2D" parent="."]
|
|
position = Vector2(-14, -6)
|