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,9 +1,10 @@
[gd_scene load_steps=32 format=3 uid="uid://cjmsexhyhi4vs"]
[gd_scene load_steps=33 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://b2msjygw7oyi0" path="res://gymkhana/characters/oier/oier-mod.png" id="2"]
[ext_resource type="Texture2D" uid="uid://da1kd8lccd24" path="res://gymkhana/characters/oier/oier-mod.png" id="2"]
[ext_resource type="Resource" uid="uid://cyjo7aq0e4hbe" path="res://gymkhana/characters/oier/oier_animations.tres" id="3"]
[ext_resource type="Texture2D" uid="uid://bcs6kqj5w23vk" path="res://gymkhana/characters/oier/oier-mod-talk.png" id="4"]
[ext_resource type="Texture2D" uid="uid://dayds4a0t1ldv" path="res://gymkhana/characters/oier/oier-mod-talk.png" id="4"]
[ext_resource type="Script" uid="uid://85bledusisk1" path="res://addons/escoria-core/game/core-scripts/esc_dialog_location.gd" id="5_10x32"]
[sub_resource type="AtlasTexture" id="22"]
atlas = ExtResource("2")
@@ -251,22 +252,25 @@ position = Vector2(-5, 0)
script = ExtResource("1")
global_id = "player"
esc_script = "res://gymkhana/characters/oier/oier.esc"
is_interactive = false
is_movable = true
default_action = "action1"
combine_when_selected_action_is_in = []
dialog_color = Color(0.321569, 0.662745, 0.301961, 1)
default_action = "action1"
combine_when_selected_action_is_in = PackedStringArray()
is_interactive = false
animations = ExtResource("3")
animations = ExtResource("3")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -155)
scale = Vector2(0.389246, 0.389247)
frames = SubResource("20")
animation = "speak_down"
sprite_frames = SubResource("20")
animation = &"speak_down"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(5, -151)
shape = SubResource("21")
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2(1, -473)
[node name="ESCDialogLocation" type="Marker2D" parent="."]
position = Vector2(10, -452)
script = ExtResource("5_10x32")
metadata/_custom_type_script = "uid://85bledusisk1"