oier animation tweaks, say_to_camera command

This commit is contained in:
2025-09-07 20:01:39 +02:00
parent 2b7d57c802
commit 7c6d7f0729
4 changed files with 146 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=38 format=3 uid="uid://cjmsexhyhi4vs"]
[gd_scene load_steps=37 format=3 uid="uid://cjmsexhyhi4vs"]
[ext_resource type="Script" uid="uid://clg4yrj7v7eae" path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://da1kd8lccd24" path="res://gymkhana/characters/oier/oier-mod.png" id="2"]
@@ -50,10 +50,6 @@ region = Rect2(4368, 0, 273, 795)
atlas = ExtResource("4")
region = Rect2(5187, 0, 273, 795)
[sub_resource type="AtlasTexture" id="AtlasTexture_xnkj6"]
atlas = ExtResource("4")
region = Rect2(4914, 0, 273, 795)
[sub_resource type="AtlasTexture" id="AtlasTexture_obf0k"]
atlas = ExtResource("4")
region = Rect2(4641, 0, 273, 795)
@@ -225,9 +221,6 @@ animations = [{
"texture": SubResource("26")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xnkj6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_obf0k")
}],
"loop": true,
@@ -331,7 +324,7 @@ animations = ExtResource("3")
position = Vector2(0, -155)
scale = Vector2(0.389246, 0.389247)
sprite_frames = SubResource("20")
animation = &"speak_right"
animation = &"speak_down"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(5, -151)

View File

@@ -1,20 +1,16 @@
:action1
set_angle($player, 270)
say($player, "Mi mechero, que bien!!", "mechero_action1_say_1")
set_angle($player,270)
say($player, "Ayer lo dejé un segundo encima de la mesa y desapareció.", "mechero_action1_say_2")
say_to_camera($player, "Mi mechero, que bien!!", "mechero_action1_say_1")
say_to_camera($player, "Ayer lo dejé un segundo encima de la mesa y desapareció.", "mechero_action1_say_2")
:action2
set_angle($player,270)
say($player, "A la saca!", "mechero_action2_say")
say_to_camera($player, "A la saca!", "mechero_action2_say")
set_active($turno_cocina_mechero, false)
inventory_add("turno_cocina_mechero")
:action3
say($player, "Parece que no tiene gas.", "mechero_action3_say_1")
say($player, "Eso explica que lo hayan abandonado.", "mechero_action3_say_2")
set_angle($player, 180)
say($player, "Si vienes a Uli vigila tu mechero.", "mechero_action3_say_3")
say_to_camera($player, "Si vienes a Uli vigila tu mechero.", "mechero_action3_say_3")
:action4 "turno_cocina_carton"
say($player, "Fuego!", "mechero_action4") #ToDo: tiene sentido?