Basic player controls and aiming

This commit is contained in:
Haze Weathers 2024-08-21 21:02:35 -04:00
parent 56695d303e
commit f5999da412
114 changed files with 6611 additions and 2 deletions

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://cntjtrjp4uisn"]
[ext_resource type="Texture2D" uid="uid://e6ubhnakxe0i" path="res://icon.svg" id="1_lvyed"]
[ext_resource type="Script" path="res://objects/weapons/projectiles/bullet.gd" id="1_xwbst"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kf3mx"]
size = Vector2(4, 4)
[node name="Bullet" type="Node2D"]
script = ExtResource("1_xwbst")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-2.38419e-07, 0)
scale = Vector2(0.03125, 0.03125)
texture = ExtResource("1_lvyed")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_kf3mx")
[connection signal="body_entered" from="Area2D" to="." method="queue_free" unbinds=1]