Bullets firing and scene manager witih teleportation and force push

This commit is contained in:
ArunKirupananthan committed 2026-10-06 20:58:28 -04:00
1 parent 94012868f0
commit 4e9a117b77
15 files changed
+260 -60

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
[gd_scene format=3 uid="uid://bbascciqs68u"]
[ext_resource type="Script" uid="uid://k5itsiku45rk" path="res://scripts/player.gd" id="1_3vyb7"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_daopg"]
[node name="Player" type="CharacterBody2D" unique_id=680748920]
script = ExtResource("1_3vyb7")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=308149451]
shape = SubResource("CapsuleShape2D_daopg")
debug_color = Color(0.42452708, 0.6028724, 0.041758128, 0.41960785)
[node name="RightCast" type="RayCast2D" parent="." unique_id=1878095713]
target_position = Vector2(16, 0)
[node name="LeftCast" type="RayCast2D" parent="." unique_id=1441120401]
target_position = Vector2(-16, 0)
[node name="RightSpawn" type="Marker2D" parent="." unique_id=1621013334]
position = Vector2(16, -7)
[node name="LeftSpawn" type="Marker2D" parent="." unique_id=774488423]
position = Vector2(-16, -7)