PopochiuHotspot

Inherits: PopochiuClickable

Description

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 baseline, the position of the walk_to_point, and the position and the polygon points of the $InteractionPolygon child.


Methods

Return Type Method
void _on_movement_ended() virtual
void _on_movement_started() virtual

Method Descriptions

_on_movement_ended

func _on_movement_ended() -> void

This is a virtual method. Override it in your subclass.

Called when the hotspot stops moving.

Override this to add custom behavior or update the game state.


_on_movement_started

func _on_movement_started() -> void

This is a virtual method. Override it in your subclass.

Called when the hotspot starts moving.

Override this to add custom behavior or update the game state.