powerup system

This commit is contained in:
zoe 2021-10-05 21:55:34 +02:00
parent c8747328cf
commit 77ca16be36
149 changed files with 2472 additions and 331 deletions

View file

@ -0,0 +1,15 @@
extends TextureButton
var spawn_position = Vector2() setget set_spawn_position, get_spawn_position
func set_spawn_position(value):
spawn_position = value
func get_spawn_position():
return spawn_position
func _on_TextureButton_pressed() -> void:
get_tree().paused = false
GameStats.pick_powerup()
queue_free()