initial commit

This commit is contained in:
Simo-Pekka Kerkelä 2025-07-11 00:14:08 +03:00
commit 35bb9bb38f
No known key found for this signature in database
46 changed files with 1243 additions and 0 deletions

24
Gun.tscn Normal file
View file

@ -0,0 +1,24 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Gun.gd" type="Script" id=1]
[ext_resource path="res://Sprites/sprite-sheet.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 6.39507
[node name="Gun" type="Node2D" groups=[
"ammo",
]]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 48, 0, 16, 16 )
[node name="Area2D" type="Area2D" parent="."]
[node name="Pickup" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]