cawez_puzzlebox/player/fractal_indicator.gd
2024-06-27 23:25:45 -04:00

12 lines
346 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_min) / (Globals.fractal_max - Globals.fractal_min+0.00001))