mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-05 13:34:48 -04:00
This is the start of a major rewrite of the game, using varies add-ons whenever possible instead of reinventing the wheel. Not that it wasn't a good learning experience, but, yeah, glad Godot 4 is finally here.
15 lines
332 B
GDScript
15 lines
332 B
GDScript
# This project is licensed under the Artistic-2.0 license.
|
|
# See the LICENSE file in the project root for more information.
|
|
extends TextureRect
|
|
|
|
@onready var timer = $Timer
|
|
|
|
func _ready():
|
|
GameEvents.connect("indicate",Callable(self,"_on_indicate"))
|
|
|
|
func _on_indicate():
|
|
show()
|
|
timer.start()
|
|
|
|
func _on_Timer_timeout():
|
|
hide()
|