Randoloot/tests/time_crystal_visual.gd
2026-10-20 20:32:50 +02:00

19 lines
582 B
GDScript

extends Node2D
func _ready() -> void:
var background := ColorRect.new()
background.color = Color("0b1826")
background.size = Vector2(1280,720)
add_child(background)
var crystal := Node2D.new()
crystal.set_script(preload("res://scripts/items/time_crystal_pickup.gd"))
crystal.position = Vector2(640,340)
crystal.scale = Vector2.ONE*3
crystal.amount = 10
add_child(crystal)
crystal.set_physics_process(false)
var label := Label.new()
label.text = "KRYSZTAŁY CZASU"
label.position = Vector2(500,440)
label.add_theme_font_size_override("font_size",20)
add_child(label)