Modified the resource and defaults for the projectile property ;made a
backup of the original stock weapon scene just in case things went bad.
This commit is contained in:
parent
f3fbf80250
commit
172830729f
5 changed files with 29 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ extends Resource
|
|||
@export var shot_name: String
|
||||
@export var damage: int = 1
|
||||
@export var speed: int = 135
|
||||
@export var projectiles: int = 2
|
||||
@export var rate: float = 0.1
|
||||
@export var cooldown: float = 0.25
|
||||
@export var sprite: Texture2D = preload("res://graphics/shot.png")
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ extends Area2D
|
|||
@onready var bullet = load("res://scenes/stock_weapon.tscn")
|
||||
|
||||
@export var shot_data: PlayerShot
|
||||
@onready var player = get_node("../Player")
|
||||
|
||||
|
||||
func _process(delta):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue