Dialog position & darker background

This commit is contained in:
2023-10-05 00:02:37 +02:00
parent 824980ab0f
commit ef05793d1d
3 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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 )

View File

@@ -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 )