20 lines
No EOL
463 B
GDScript
20 lines
No EOL
463 B
GDScript
extends HBoxContainer
|
|
|
|
# class member variables go here, for example:
|
|
# var a = 2
|
|
# var b = "textvar"
|
|
|
|
func _ready():
|
|
# Called when the node is added to the scene for the first time.
|
|
# Initialization here
|
|
pass
|
|
|
|
#func _process(delta):
|
|
# # Called every frame. Delta is time since last frame.
|
|
# # Update game logic here.
|
|
# pass
|
|
|
|
|
|
|
|
func _on_ProgressBar_value_changed(value):
|
|
self.modulate = Color( 1.0, 1.0, 1.0, clamp(value/50, 20/255, 1 ) ) |