Refactored weapon and shoot component use and resources.

This commit is contained in:
Henry Faber 2026-06-09 13:57:40 +01:00
parent 79122a074e
commit bdbc3b015f
29 changed files with 239 additions and 435 deletions

View file

@ -0,0 +1,15 @@
class_name WeaponShot
extends Resource
@export_category("Info")
@export var shot_name: String
@export var bullet_scene: PackedScene = null
#@export var sprite: Texture2D = preload("res://graphics/shot.png")
@export_category("Shot Data")
@export var damage: int = 1
@export var speed: int = 135
@export var projectiles: int = 2
@export var spacing: float = 35
@export var origin: int = -23