This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
extends Label
|
||||
|
||||
func _process(_delta):
|
||||
self.visible = escoria.inputs_manager.input_mode != escoria.inputs_manager.INPUT_NONE
|
||||
@@ -1 +0,0 @@
|
||||
uid://d1pg38kdwg07d
|
||||
@@ -1,11 +1,8 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dyi4lxm20wgne"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d1pg38kdwg07d" path="res://addons/escoria-ui-return-monkey-island-dialog-simple/dialog_tip.gd" id="2"]
|
||||
[gd_scene format=3 uid="uid://dyi4lxm20wgne"]
|
||||
|
||||
[node name="Label" type="Label"]
|
||||
offset_left = 1000.0
|
||||
offset_top = 500.0
|
||||
offset_right = 1237.0
|
||||
offset_bottom = 523.0
|
||||
text = "Haz click para acelerar el texto"
|
||||
script = ExtResource("2")
|
||||
offset_left = 1011.0
|
||||
offset_top = 508.0
|
||||
offset_right = 1248.0
|
||||
offset_bottom = 531.0
|
||||
text = "click_to_speed_up_text"
|
||||
|
||||
@@ -138,12 +138,11 @@ func _initialize_say_states(global_id: String, text: String, type: String, key:
|
||||
func _on_say_finished():
|
||||
if not _should_preserve_dialog_box and _dialog_player.get_children().has(_type_player):
|
||||
_dialog_player.remove_child(_type_player)
|
||||
remove_dialop_tip()
|
||||
|
||||
|
||||
hide_dialop_tip()
|
||||
_is_saying = false
|
||||
|
||||
_dialog_player.say_finished.emit()
|
||||
escoria.game_scene.show_tooltips()
|
||||
|
||||
|
||||
|
||||
@@ -215,7 +214,7 @@ func interrupt():
|
||||
|
||||
if not _should_preserve_dialog_box and _dialog_player.get_children().has(_type_player):
|
||||
_dialog_player.remove_child(_type_player)
|
||||
remove_dialop_tip()
|
||||
hide_dialop_tip()
|
||||
|
||||
say_finished.emit()
|
||||
|
||||
@@ -223,11 +222,17 @@ func interrupt():
|
||||
func add_dialog_tip():
|
||||
if not _dialog_player.get_children().has(_dialog_tip):
|
||||
_dialog_player.add_child(_dialog_tip)
|
||||
_dialog_tip.visible = true
|
||||
|
||||
|
||||
func remove_dialop_tip():
|
||||
_dialog_player.remove_child(_dialog_tip)
|
||||
|
||||
func show_dialog_tip():
|
||||
pass
|
||||
|
||||
func hide_dialop_tip():
|
||||
_dialog_tip.visible = false
|
||||
|
||||
func _on_paused():
|
||||
remove_dialop_tip()
|
||||
hide_dialop_tip()
|
||||
|
||||
@@ -109,6 +109,8 @@ func _ready():
|
||||
|
||||
# Show inventory when video player finishes playing a video (inventory is hidden when a video starts)
|
||||
get_video_player().connect("finished", Callable(self, "show_ui"))
|
||||
|
||||
escoria.dialog_player.connect("say_finished", func say_finished(): show_tooltips())
|
||||
|
||||
|
||||
func _enter_tree():
|
||||
|
||||
@@ -347,3 +347,4 @@ tooltip_despensa_puerta_exterior,,,"Salir fuera"
|
||||
tooltip_cocina_detras_cocina_detras_puerta_delante,,,"Ir delante"
|
||||
tooltip_cocina_detras_cocina_detras_puerta_cocina,,,"Entrar en la cocina"
|
||||
despensa_bidon_cntr_action2_say_no,,,"Ya tengo suficientes, no quiero que Eneko me riña."
|
||||
click_to_speed_up_text,,,"Haz click para acelerar el texto"
|
||||
|
Can't render this file because it contains an unexpected character in line 265 and column 110.
|
Reference in New Issue
Block a user