added Graphics and sound Effects and more overhauls
This commit is contained in:
parent
c887a2168c
commit
b9d4288900
214 changed files with 3378 additions and 198 deletions
11
scenes/upgrade/upgrades/speedUpgrade.gd
Normal file
11
scenes/upgrade/upgrades/speedUpgrade.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class_name SpeedUpgrade extends "res://scenes/upgrade/upgrade.gd"
|
||||
|
||||
@export var damage: int = 1
|
||||
|
||||
func _init() -> void:
|
||||
upgradeName = "Speed Upgrade"
|
||||
description = "Increase speed by 10%"
|
||||
|
||||
func select():
|
||||
if Globals.getPlayer() != null:
|
||||
Globals.getPlayer().addSpeedMult(1.1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue