Deleted ESCHotspot (use ESCItem instead)
Moved duplicated movement code from ESCPlayer and ESCItem/ESCHotspot to its own script. Added talking animations management. Fixed bug: character was turning to last_direction after talking, if coming from another direction than speaking direction. Continued removing unfree stuff.
This commit is contained in:
@@ -56,18 +56,6 @@ func element_unfocused() -> void:
|
||||
pass
|
||||
|
||||
|
||||
## HOTSPOTS ##
|
||||
|
||||
func left_click_on_hotspot(hotspot_global_id : String, event : InputEvent) -> void:
|
||||
escoria.do("hotspot_left_click", [hotspot_global_id, event])
|
||||
|
||||
func right_click_on_hotspot(hotspot_global_id : String, event : InputEvent) -> void:
|
||||
escoria.do("hotspot_right_click", [hotspot_global_id, event])
|
||||
|
||||
func left_double_click_on_hotspot(hotspot_global_id : String, event : InputEvent) -> void:
|
||||
escoria.do("hotspot_left_click", [hotspot_global_id, event])
|
||||
|
||||
|
||||
## ITEMS ##
|
||||
|
||||
func left_click_on_item(item_global_id : String, event : InputEvent) -> void:
|
||||
|
||||
Reference in New Issue
Block a user