Initial commit.
This commit is contained in:
commit
142bf87eca
24 changed files with 356 additions and 0 deletions
9
scripts/player_shot.gd
Normal file
9
scripts/player_shot.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class_name PlayerShot
|
||||
extends Resource
|
||||
|
||||
@export var shot_name: String
|
||||
@export var damage: int = 1
|
||||
@export var speed: int = 100
|
||||
@export var rate: float = 0.1
|
||||
@export var cooldown: float = 0.25
|
||||
@export var sprite: Texture2D = preload("res://graphics/shot.png")
|
||||
Loading…
Add table
Add a link
Reference in a new issue