26 lines
846 B
Plaintext
26 lines
846 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://c5uf1o0s4syv7"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://bxlrsqltut2xn" path="res://scripts/Player.gd" id="1_v0iea"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ag0er"]
|
||
|
|
||
|
[node name="Player" type="CharacterBody2D"]
|
||
|
script = ExtResource("1_v0iea")
|
||
|
metadata/_edit_group_ = true
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_ag0er")
|
||
|
debug_color = Color(3.08037e-06, 0.641589, 0.331866, 0.42)
|
||
|
|
||
|
[node name="RightCast" type="RayCast2D" parent="."]
|
||
|
target_position = Vector2(48, 0)
|
||
|
|
||
|
[node name="LeftCast" type="RayCast2D" parent="."]
|
||
|
target_position = Vector2(-47, 0)
|
||
|
|
||
|
[node name="BulletSpawnPointRight" type="Node2D" parent="."]
|
||
|
position = Vector2(16, -5)
|
||
|
|
||
|
[node name="BulletSpawnPointLeft" type="Node2D" parent="."]
|
||
|
position = Vector2(-16, -5)
|