some stuff :3

This commit is contained in:
kaia
2024-03-26 16:38:09 -05:00
parent 8907a6e750
commit 7f372279bc
13 changed files with 14634 additions and 255 deletions

View File

@@ -50,3 +50,13 @@ func clearContainer():
func updateAllVisible():
for i in container.get_children():
i.updateVis()
func _on_toggle_visibility_pressed():
$NinePatchRect.visible = !$NinePatchRect.visible
$ScrollContainer.visible = $NinePatchRect.visible
$Eyes.frame = int(!$NinePatchRect.visible)
if $NinePatchRect.visible:
$Eyes.position = Vector2(-21,12)
else:
$Eyes.position = Vector2(209,12)