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,20 @@
@tool
@icon('res://addons/popochiu/icons/hotspot.png')
class_name PopochiuHotspot
extends PopochiuClickable
## Areas players can interact with (i.e. something that is part of the room's background: the sky,
## an entrance to a cave, a forest in the distance).
##
## When selecting a Hotspot in the scene tree (Scene dock), Popochiu will enable three buttons in
## the Canvas Editor Menu: Baseline, Walk to, and Interaction. This can be used to select the child
## nodes that allow to modify the position of the [member PopochiuClickable.baseline],
## the position of the [member PopochiuClickable.walk_to_point], and the position and the polygon
## points of the [b]$InteractionPolygon[/b] child.
#region Godot ######################################################################################
func _ready() -> void:
super()
add_to_group('hotspots')
#endregion