From ef05793d1db4943c13c6830bb28f8fa5c38ad472 Mon Sep 17 00:00:00 2001 From: oier Date: Thu, 5 Oct 2023 00:02:37 +0200 Subject: [PATCH] Dialog position & darker background --- .../theme.tres | 2 +- gymkhana/characters/eneko/eneko_smoking.tscn | 7 +++---- gymkhana/characters/oier/oier.tscn | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gymkhana/addons/escoria-ui-return-monkey-island-dialog-simple/theme.tres b/gymkhana/addons/escoria-ui-return-monkey-island-dialog-simple/theme.tres index 6e54eebc..085f625a 100644 --- a/gymkhana/addons/escoria-ui-return-monkey-island-dialog-simple/theme.tres +++ b/gymkhana/addons/escoria-ui-return-monkey-island-dialog-simple/theme.tres @@ -7,7 +7,7 @@ content_margin_left = 5.0 content_margin_right = 5.0 content_margin_top = 5.0 content_margin_bottom = 5.0 -bg_color = Color( 0, 0, 0, 0.25098 ) +bg_color = Color( 0, 0, 0, 0.815686 ) corner_radius_top_left = 8 corner_radius_top_right = 8 corner_radius_bottom_right = 8 diff --git a/gymkhana/characters/eneko/eneko_smoking.tscn b/gymkhana/characters/eneko/eneko_smoking.tscn index e172a70c..a58008ff 100644 --- a/gymkhana/characters/eneko/eneko_smoking.tscn +++ b/gymkhana/characters/eneko/eneko_smoking.tscn @@ -1,8 +1,7 @@ -[gd_scene load_steps=22 format=2] +[gd_scene load_steps=21 format=2] [ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1] [ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2] -[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-001.png" type="Texture" id=3] [ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-005.png" type="Texture" id=4] [ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-002.png" type="Texture" id=5] [ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-003.png" type="Texture" id=6] @@ -27,7 +26,7 @@ region = Rect2( 0, 0, 150, 256 ) [sub_resource type="SpriteFrames" id=1] animations = [ { -"frames": [ ExtResource( 7 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 14 ), ExtResource( 4 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 11 ), ExtResource( 10 ), ExtResource( 8 ), ExtResource( 3 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 18 ), ExtResource( 17 ), ExtResource( 9 ) ], +"frames": [ ExtResource( 7 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 14 ), ExtResource( 4 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 11 ), ExtResource( 10 ), ExtResource( 8 ), ExtResource( 7 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 18 ), ExtResource( 17 ), ExtResource( 9 ) ], "loop": true, "name": "idle", "speed": 5.0 @@ -56,7 +55,7 @@ animation = "speak" flip_h = true [node name="dialog_position" type="Position2D" parent="."] -position = Vector2( -1, -223 ) +position = Vector2( 36, -253 ) [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] polygon = PoolVector2Array( -5, 6, -4, 22, -7, 32, -10, 39, -6, 43, 7, 43, 12, 35, 14, 25, 12, 12, 10, -25, 31, -38, 32, 37, 48, 37, 49, 28, 46, 22, 50, -1, 51, -35, 57, -39, 57, -72, 58, -74, 70, -68, 76, -69, 79, -76, 78, -81, 72, -89, 67, -104, 56, -114, 47, -115, 45, -120, 46, -140, 38, -145, 34, -146, 28, -144, 24, -139, 22, -129, 24, -122, 23, -119, 17, -114, 5, -109, -7, -80, -7, -62, 4, -58, 5, -53, -7, -34 ) diff --git a/gymkhana/characters/oier/oier.tscn b/gymkhana/characters/oier/oier.tscn index 76d837d7..fae39ddc 100644 --- a/gymkhana/characters/oier/oier.tscn +++ b/gymkhana/characters/oier/oier.tscn @@ -200,4 +200,4 @@ position = Vector2( 5, -151 ) shape = SubResource( 21 ) [node name="dialog_position" type="Position2D" parent="."] -position = Vector2( 3, -329 ) +position = Vector2( 1, -473 )