Added upgrade system

This commit is contained in:
2024-05-10 20:47:29 +01:00
parent 099340f870
commit 1489d93ae6
38 changed files with 993 additions and 78 deletions

View File

@@ -14,7 +14,6 @@ func _ready() -> void:
func _notification(what: int) -> void:
if what == NOTIFICATION_TRANSFORM_CHANGED:
var pos = global_position / get_viewport_rect().size
print(pos)
material.set_shader_parameter("rect_global_position", pos)
material.set_shader_parameter("rect_size", get_rect().size)