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

10
Gun.gd Normal file
View file

@ -0,0 +1,10 @@
extends Node2D
export(int) var ammo = 5
signal ammo_taken
func _on_Area2D_body_entered(body):
if body.has_method("pick_up"):
body.pick_up(ammo)
emit_signal("ammo_taken")
queue_free()