First commit 🎉

This commit is contained in:
Tony Bark 2025-07-17 01:49:18 -04:00
commit 43ea213f9b
728 changed files with 37080 additions and 0 deletions

View file

@ -0,0 +1,15 @@
extends PopochiuSettingsBarButton
#region Godot ######################################################################################
func _ready() -> void:
super()
PopochiuUtils.e.game_saved.connect(show)
if PopochiuUtils.e.has_save():
show()
else:
hide()
#endregion

View file

@ -0,0 +1 @@
uid://p0vkry54t2lc

View file

@ -0,0 +1,11 @@
extends PopochiuSettingsBarButton
#region Godot ######################################################################################
func _ready() -> void:
super()
if OS.has_feature("web"):
hide()
#endregion

View file

@ -0,0 +1 @@
uid://7tvb4u0a2cgs

View file

@ -0,0 +1,32 @@
class_name PopochiuSettingsBarButton
extends TextureButton
@export var description := "" : get = get_description
@export var script_name := ""
#region Godot ######################################################################################
func _ready() -> void:
mouse_entered.connect(_on_mouse_entered)
mouse_exited.connect(_on_mouse_exited)
#endregion
#region SetGet #####################################################################################
func get_description() -> String:
return description
#endregion
#region Private ####################################################################################
func _on_mouse_entered() -> void:
PopochiuUtils.g.show_hover_text(self.description)
func _on_mouse_exited() -> void:
PopochiuUtils.g.show_hover_text()
#endregion