Fixed dialog position. Closes #105

This commit is contained in:
2025-03-30 01:08:57 +01:00
parent 07f2b3b76d
commit b4dc4691e6
4 changed files with 86 additions and 70 deletions

View File

@@ -1,13 +1,14 @@
[gd_scene load_steps=26 format=3 uid="uid://bgiskd55j17fc"]
[gd_scene load_steps=27 format=3 uid="uid://bgiskd55j17fc"]
[ext_resource type="Script" uid="uid://ceym82rf2qnxu" path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://wb78a2y0m57i" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-donkey-sheet.png" id="2"]
[ext_resource type="Texture2D" uid="uid://dc5ssanpsjr4v" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-disco-sheet.png" id="3"]
[ext_resource type="Texture2D" uid="uid://dn6d46kpmkhpw" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-pulp-sheet.png" id="4"]
[ext_resource type="Texture2D" uid="uid://cdkeajd7fstp6" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-idle.png" id="5"]
[ext_resource type="Texture2D" uid="uid://dlndx4wt43du5" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-donkey-sheet.png" id="2"]
[ext_resource type="Texture2D" uid="uid://cocv4kkfk5iov" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-disco-sheet.png" id="3"]
[ext_resource type="Texture2D" uid="uid://vpnelytw2stc" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-pulp-sheet.png" id="4"]
[ext_resource type="Texture2D" uid="uid://h7emnr0usymg" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-idle.png" id="5"]
[ext_resource type="Script" uid="uid://ixw3klxr3w2p" path="res://gymkhana/rooms/turno_cocina/creditos/DancingAnimator.gd" id="7"]
[ext_resource type="Texture2D" uid="uid://caru5ygwmheyw" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-speak-sheet.png" id="8"]
[ext_resource type="Resource" path="res://gymkhana/rooms/turno_cocina/creditos/EnekoDancingAnimations.tres" id="9"]
[ext_resource type="Texture2D" uid="uid://do8xbit43kike" path="res://gymkhana/rooms/turno_cocina/creditos/assets/eneko-speak-sheet.png" id="8"]
[ext_resource type="Resource" uid="uid://cr02ebtkhjlw7" path="res://gymkhana/rooms/turno_cocina/creditos/EnekoDancingAnimations.tres" id="9"]
[ext_resource type="Script" uid="uid://85bledusisk1" path="res://addons/escoria-core/game/core-scripts/esc_dialog_location.gd" id="9_v123t"]
[sub_resource type="CapsuleShape2D" id="1"]
radius = 57.0
@@ -150,24 +151,27 @@ animations = [{
process_mode = 1
script = ExtResource("1")
global_id = "eneko_dancing"
dialog_color = Color(0.584314, 0.490196, 0.270588, 1)
combine_when_selected_action_is_in = PackedStringArray()
is_interactive = false
player_orients_on_arrival = false
combine_when_selected_action_is_in = []
dialog_color = Color(0.584314, 0.490196, 0.270588, 1)
animations = ExtResource("9")
animations = ExtResource("9")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
frames = SubResource("14")
animation = "idle"
sprite_frames = SubResource("14")
animation = &"idle"
script = ExtResource("7")
[node name="Timer" type="Timer" parent="AnimatedSprite2D"]
wait_time = 6.0
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2(-2, -273)
[node name="ESCDialogLocation" type="Marker2D" parent="."]
position = Vector2(7, -271)
script = ExtResource("9_v123t")
metadata/_custom_type_script = "uid://85bledusisk1"
[connection signal="timeout" from="AnimatedSprite2D/Timer" to="AnimatedSprite2D" method="_on_Timer_timeout"]

View File

@@ -1,13 +1,14 @@
[gd_scene load_steps=26 format=3 uid="uid://dg3q322t7b34f"]
[gd_scene load_steps=27 format=3 uid="uid://dg3q322t7b34f"]
[ext_resource type="Script" uid="uid://ceym82rf2qnxu" path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://cht3r83h74v1p" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-donkey-sheet.png" id="2"]
[ext_resource type="Texture2D" uid="uid://h38hcuygme4d" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-idle.png" id="3"]
[ext_resource type="Texture2D" uid="uid://cbqvx5efjmdci" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-pulp-sheet.png" id="4"]
[ext_resource type="Texture2D" uid="uid://c7g27vatqcft4" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-disco-sheet.png" id="5"]
[ext_resource type="Texture2D" uid="uid://do2a6t8weecj8" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-donkey-sheet.png" id="2"]
[ext_resource type="Texture2D" uid="uid://d8kde02dy8aw" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-idle.png" id="3"]
[ext_resource type="Texture2D" uid="uid://0g6vnnf6cvp0" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-pulp-sheet.png" id="4"]
[ext_resource type="Texture2D" uid="uid://dna03xt7qpx8w" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-disco-sheet.png" id="5"]
[ext_resource type="Script" uid="uid://ixw3klxr3w2p" path="res://gymkhana/rooms/turno_cocina/creditos/DancingAnimator.gd" id="6"]
[ext_resource type="Texture2D" uid="uid://dt1rchb7y4qe" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-speak-sheet.png" id="7"]
[ext_resource type="Resource" path="res://gymkhana/rooms/turno_cocina/creditos/OierDancingAnimations.tres" id="8"]
[ext_resource type="Texture2D" uid="uid://diww8ibxlxjlr" path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-speak-sheet.png" id="7"]
[ext_resource type="Resource" uid="uid://bl5rc1krhwcbu" path="res://gymkhana/rooms/turno_cocina/creditos/OierDancingAnimations.tres" id="8"]
[ext_resource type="Script" uid="uid://85bledusisk1" path="res://addons/escoria-core/game/core-scripts/esc_dialog_location.gd" id="9_wcgd0"]
[sub_resource type="CapsuleShape2D" id="1"]
radius = 57.0
@@ -150,24 +151,27 @@ animations = [{
process_mode = 1
script = ExtResource("1")
global_id = "oier_dancing"
dialog_color = Color(0.321569, 0.662745, 0.301961, 1)
combine_when_selected_action_is_in = PackedStringArray()
is_interactive = false
player_orients_on_arrival = false
combine_when_selected_action_is_in = []
dialog_color = Color(0.321569, 0.662745, 0.301961, 1)
animations = ExtResource("8")
animations = ExtResource("8")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
frames = SubResource("14")
animation = "idle"
sprite_frames = SubResource("14")
animation = &"idle"
script = ExtResource("6")
[node name="Timer" type="Timer" parent="AnimatedSprite2D"]
wait_time = 6.0
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2(-2, -273)
[node name="ESCDialogLocation" type="Marker2D" parent="."]
position = Vector2(2, -269)
script = ExtResource("9_wcgd0")
metadata/_custom_type_script = "uid://85bledusisk1"
[connection signal="timeout" from="AnimatedSprite2D/Timer" to="AnimatedSprite2D" method="_on_Timer_timeout"]