cawez_puzzlebox/player/fractal_indicator.gd
2024-06-27 10:59:57 -04:00

12 lines
335 B
GDScript

extends TextureRect
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
scale.x = (Globals.fractal / (Globals.fractal_max - Globals.fractal_min)) - Globals.fractal_min