feat(escoria4): upgraded project to Godot 4.4

This commit is contained in:
2025-03-11 12:29:32 +01:00
parent 9cbf8d17b2
commit 0fb120466b
126 changed files with 1606 additions and 1357 deletions

View File

@@ -1,50 +1,103 @@
[gd_scene load_steps=21 format=2]
[gd_scene load_steps=21 format=3 uid="uid://wx76bqug4qy8"]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
[ext_resource path="res://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-005.png" type="Texture2D" id=4]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-002.png" type="Texture2D" id=5]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-003.png" type="Texture2D" id=6]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-001.png" type="Texture2D" id=7]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-010.png" type="Texture2D" id=8]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-016.png" type="Texture2D" id=9]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-009.png" type="Texture2D" id=10]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-008.png" type="Texture2D" id=11]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-012.png" type="Texture2D" id=12]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-013.png" type="Texture2D" id=13]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-004.png" type="Texture2D" id=14]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-006.png" type="Texture2D" id=15]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-007.png" type="Texture2D" id=16]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-015.png" type="Texture2D" id=17]
[ext_resource path="res://gymkhana/characters/eneko/smoking_animation/unscreen-014.png" type="Texture2D" id=18]
[ext_resource path="res://gymkhana/characters/eneko/assets/speak-2.png" type="Texture2D" id=20]
[ext_resource type="Resource" uid="uid://c4lhcwvjqx5ty" path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" id="1"]
[ext_resource type="Script" uid="uid://clg4yrj7v7eae" path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://d3llwr16eq05e" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-005.png" id="4"]
[ext_resource type="Texture2D" uid="uid://bfsccuoj7pmbf" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-002.png" id="5"]
[ext_resource type="Texture2D" uid="uid://dttlqbxpeqwi2" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-003.png" id="6"]
[ext_resource type="Texture2D" uid="uid://cms1wfpspj3lm" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-001.png" id="7"]
[ext_resource type="Texture2D" uid="uid://dvn6aneqx6ki4" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-010.png" id="8"]
[ext_resource type="Texture2D" uid="uid://c3oauyuv2m63f" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-016.png" id="9"]
[ext_resource type="Texture2D" uid="uid://dj3afybpcing3" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-009.png" id="10"]
[ext_resource type="Texture2D" uid="uid://b2fp3wx3yc4ac" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-008.png" id="11"]
[ext_resource type="Texture2D" uid="uid://dc18o6ownjk4f" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-012.png" id="12"]
[ext_resource type="Texture2D" uid="uid://cwaa6byg1k8jp" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-013.png" id="13"]
[ext_resource type="Texture2D" uid="uid://b8dkc8xtqe4sh" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-004.png" id="14"]
[ext_resource type="Texture2D" uid="uid://bhj0jj26o1v24" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-006.png" id="15"]
[ext_resource type="Texture2D" uid="uid://cms3agh4k5nrs" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-007.png" id="16"]
[ext_resource type="Texture2D" uid="uid://deqj1jv3tlrnw" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-015.png" id="17"]
[ext_resource type="Texture2D" uid="uid://nrkwgky7ip6w" path="res://gymkhana/characters/eneko/smoking_animation/unscreen-014.png" id="18"]
[ext_resource type="Texture2D" uid="uid://dh4jyr03r21c8" path="res://gymkhana/characters/eneko/assets/speak-2.png" id="20"]
[sub_resource type="AtlasTexture" id=2]
flags = 4
atlas = ExtResource( 20 )
region = Rect2( 0, 0, 150, 256 )
[sub_resource type="AtlasTexture" id="2"]
atlas = ExtResource("20")
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( 7 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 18 ), ExtResource( 17 ), ExtResource( 9 ) ],
[sub_resource type="SpriteFrames" id="1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("7")
}, {
"duration": 1.0,
"texture": ExtResource("5")
}, {
"duration": 1.0,
"texture": ExtResource("6")
}, {
"duration": 1.0,
"texture": ExtResource("14")
}, {
"duration": 1.0,
"texture": ExtResource("4")
}, {
"duration": 1.0,
"texture": ExtResource("15")
}, {
"duration": 1.0,
"texture": ExtResource("16")
}, {
"duration": 1.0,
"texture": ExtResource("11")
}, {
"duration": 1.0,
"texture": ExtResource("10")
}, {
"duration": 1.0,
"texture": ExtResource("8")
}, {
"duration": 1.0,
"texture": ExtResource("7")
}, {
"duration": 1.0,
"texture": ExtResource("12")
}, {
"duration": 1.0,
"texture": ExtResource("13")
}, {
"duration": 1.0,
"texture": ExtResource("18")
}, {
"duration": 1.0,
"texture": ExtResource("17")
}, {
"duration": 1.0,
"texture": ExtResource("9")
}],
"loop": true,
"name": "idle",
"name": &"idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 7 ), SubResource( 2 ) ],
"frames": [{
"duration": 1.0,
"texture": ExtResource("7")
}, {
"duration": 1.0,
"texture": SubResource("2")
}],
"loop": true,
"name": "speak",
"name": &"speak",
"speed": 5.0
} ]
}]
[node name="ESCPlayerWithTooltip2" type="Area2D"]
process_mode = 1
script = ExtResource( 2 )
script = ExtResource("2")
global_id = "eneko_smoking"
esc_script = "res://gymkhana/characters/eneko/eneko_smoking.esc"
is_movable = true
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
combine_when_selected_action_is_in = []
dialog_color = Color(0.584314, 0.490196, 0.270588, 1)
custom_data = {
"tooltips": {
"action1": "cocina_delante_eneko_smoking_action1",
@@ -54,22 +107,22 @@ custom_data = {
action3_target_texts = {
"turno_cocina_cuchillo": "Amenzar",
"turno_cocina_frontal": "Ofrecer",
"turno_cocina_mechero": "Ofrecer",
"turno_cocina_madera": "Ofrecerle leña"
"turno_cocina_madera": "Ofrecerle leña",
"turno_cocina_mechero": "Ofrecer"
}
target_when_selected_action_is_in = [ "action3" ]
target_when_selected_action_is_in = ["action3"]
selectable = true
animations = ExtResource( 1 )
animations = ExtResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2( 32.625, -50.56 )
scale = Vector2( 0.8, 0.8 )
frames = SubResource( 1 )
position = Vector2(32.625, -50.56)
scale = Vector2(0.8, 0.8)
frames = SubResource("1")
animation = "speak"
flip_h = true
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2( 36, -253 )
position = Vector2(36, -253)
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
polygon = PackedVector2Array( -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 )
polygon = PackedVector2Array(-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

@@ -1,8 +1,8 @@
[gd_resource type="Resource" script_class="ESCAnimationResource" load_steps=7 format=3 uid="uid://c4lhcwvjqx5ty"]
[ext_resource type="Script" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationresource.gd" id="1"]
[ext_resource type="Script" path="res://addons/escoria-core/game/core-scripts/resources/esc_directionangle.gd" id="2"]
[ext_resource type="Script" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationname.gd" id="3"]
[ext_resource type="Script" uid="uid://sksvt0n8gle2" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationresource.gd" id="1"]
[ext_resource type="Script" uid="uid://bxc3dll30x8tl" path="res://addons/escoria-core/game/core-scripts/resources/esc_directionangle.gd" id="2"]
[ext_resource type="Script" uid="uid://clixil1u5exq7" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationname.gd" id="3"]
[sub_resource type="Resource" id="1"]
script = ExtResource("2")

View File

@@ -1,219 +1,272 @@
[gd_scene load_steps=32 format=2]
[gd_scene load_steps=32 format=3 uid="uid://cjmsexhyhi4vs"]
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/characters/oier/oier-mod.png" type="Texture2D" id=2]
[ext_resource path="res://gymkhana/characters/oier/oier_animations.tres" type="Resource" id=3]
[ext_resource path="res://gymkhana/characters/oier/oier-mod-talk.png" type="Texture2D" id=4]
[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="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"]
[sub_resource type="AtlasTexture" id=22]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 5733, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="22"]
atlas = ExtResource("2")
region = Rect2(5733, 0, 273, 795)
[sub_resource type="AtlasTexture" id=23]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 5460, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="23"]
atlas = ExtResource("2")
region = Rect2(5460, 0, 273, 795)
[sub_resource type="AtlasTexture" id=24]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 4368, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="24"]
atlas = ExtResource("2")
region = Rect2(4368, 0, 273, 795)
[sub_resource type="AtlasTexture" id=25]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 5187, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="25"]
atlas = ExtResource("2")
region = Rect2(5187, 0, 273, 795)
[sub_resource type="AtlasTexture" id=26]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 4641, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="26"]
atlas = ExtResource("2")
region = Rect2(4641, 0, 273, 795)
[sub_resource type="AtlasTexture" id=27]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1638, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="27"]
atlas = ExtResource("2")
region = Rect2(1638, 0, 273, 795)
[sub_resource type="AtlasTexture" id=59]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 5733, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="59"]
atlas = ExtResource("2")
region = Rect2(5733, 0, 273, 795)
[sub_resource type="AtlasTexture" id=60]
flags = 4
atlas = ExtResource( 4 )
region = Rect2( 5733, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="60"]
atlas = ExtResource("4")
region = Rect2(5733, 0, 273, 795)
[sub_resource type="AtlasTexture" id=46]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 3549, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="46"]
atlas = ExtResource("2")
region = Rect2(3549, 0, 273, 795)
[sub_resource type="AtlasTexture" id=47]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 3822, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="47"]
atlas = ExtResource("2")
region = Rect2(3822, 0, 273, 795)
[sub_resource type="AtlasTexture" id=48]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 4095, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="48"]
atlas = ExtResource("2")
region = Rect2(4095, 0, 273, 795)
[sub_resource type="AtlasTexture" id=49]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 2184, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="49"]
atlas = ExtResource("2")
region = Rect2(2184, 0, 273, 795)
[sub_resource type="AtlasTexture" id=50]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 2457, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="50"]
atlas = ExtResource("2")
region = Rect2(2457, 0, 273, 795)
[sub_resource type="AtlasTexture" id=51]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 2730, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="51"]
atlas = ExtResource("2")
region = Rect2(2730, 0, 273, 795)
[sub_resource type="AtlasTexture" id=52]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 3003, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="52"]
atlas = ExtResource("2")
region = Rect2(3003, 0, 273, 795)
[sub_resource type="AtlasTexture" id=53]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 3276, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="53"]
atlas = ExtResource("2")
region = Rect2(3276, 0, 273, 795)
[sub_resource type="AtlasTexture" id=54]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 0, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="54"]
atlas = ExtResource("2")
region = Rect2(0, 0, 273, 795)
[sub_resource type="AtlasTexture" id=55]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 273, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="55"]
atlas = ExtResource("2")
region = Rect2(273, 0, 273, 795)
[sub_resource type="AtlasTexture" id=56]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 546, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="56"]
atlas = ExtResource("2")
region = Rect2(546, 0, 273, 795)
[sub_resource type="AtlasTexture" id=57]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 819, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="57"]
atlas = ExtResource("2")
region = Rect2(819, 0, 273, 795)
[sub_resource type="AtlasTexture" id=58]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1092, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="58"]
atlas = ExtResource("2")
region = Rect2(1092, 0, 273, 795)
[sub_resource type="AtlasTexture" id=42]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1365, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="42"]
atlas = ExtResource("2")
region = Rect2(1365, 0, 273, 795)
[sub_resource type="AtlasTexture" id=43]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1638, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="43"]
atlas = ExtResource("2")
region = Rect2(1638, 0, 273, 795)
[sub_resource type="AtlasTexture" id=44]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1911, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="44"]
atlas = ExtResource("2")
region = Rect2(1911, 0, 273, 795)
[sub_resource type="AtlasTexture" id=45]
flags = 4
atlas = ExtResource( 2 )
region = Rect2( 1638, 0, 273, 795 )
[sub_resource type="AtlasTexture" id="45"]
atlas = ExtResource("2")
region = Rect2(1638, 0, 273, 795)
[sub_resource type="SpriteFrames" id=20]
animations = [ {
"frames": [ SubResource( 22 ) ],
[sub_resource type="SpriteFrames" id="20"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("22")
}],
"loop": true,
"name": "idle_down",
"name": &"idle_down",
"speed": 5.0
}, {
"frames": [ SubResource( 23 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("23")
}],
"loop": true,
"name": "idle_down_left",
"name": &"idle_down_left",
"speed": 5.0
}, {
"frames": [ SubResource( 24 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("24")
}],
"loop": true,
"name": "idle_down_right",
"name": &"idle_down_right",
"speed": 5.0
}, {
"frames": [ SubResource( 25 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("25")
}],
"loop": true,
"name": "idle_left",
"name": &"idle_left",
"speed": 5.0
}, {
"frames": [ SubResource( 26 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("26")
}],
"loop": true,
"name": "idle_right",
"name": &"idle_right",
"speed": 5.0
}, {
"frames": [ SubResource( 27 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("27")
}],
"loop": true,
"name": "idle_up",
"name": &"idle_up",
"speed": 5.0
}, {
"frames": [ SubResource( 59 ), SubResource( 60 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("59")
}, {
"duration": 1.0,
"texture": SubResource("60")
}],
"loop": true,
"name": "speak_down",
"name": &"speak_down",
"speed": 5.0
}, {
"frames": [ SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 47 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("46")
}, {
"duration": 1.0,
"texture": SubResource("47")
}, {
"duration": 1.0,
"texture": SubResource("48")
}, {
"duration": 1.0,
"texture": SubResource("47")
}],
"loop": true,
"name": "walk_down",
"name": &"walk_down",
"speed": 5.0
}, {
"frames": [ SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("49")
}, {
"duration": 1.0,
"texture": SubResource("50")
}, {
"duration": 1.0,
"texture": SubResource("51")
}, {
"duration": 1.0,
"texture": SubResource("52")
}, {
"duration": 1.0,
"texture": SubResource("53")
}],
"loop": true,
"name": "walk_left",
"name": &"walk_left",
"speed": 5.0
}, {
"frames": [ SubResource( 54 ), SubResource( 55 ), SubResource( 56 ), SubResource( 57 ), SubResource( 58 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("54")
}, {
"duration": 1.0,
"texture": SubResource("55")
}, {
"duration": 1.0,
"texture": SubResource("56")
}, {
"duration": 1.0,
"texture": SubResource("57")
}, {
"duration": 1.0,
"texture": SubResource("58")
}],
"loop": true,
"name": "walk_right",
"name": &"walk_right",
"speed": 5.0
}, {
"frames": [ SubResource( 42 ), SubResource( 43 ), SubResource( 44 ), SubResource( 45 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("42")
}, {
"duration": 1.0,
"texture": SubResource("43")
}, {
"duration": 1.0,
"texture": SubResource("44")
}, {
"duration": 1.0,
"texture": SubResource("45")
}],
"loop": true,
"name": "walk_up",
"name": &"walk_up",
"speed": 5.0
} ]
}]
[sub_resource type="CapsuleShape2D" id=21]
[sub_resource type="CapsuleShape2D" id="21"]
radius = 53.0
height = 208.0
[node name="ESCPlayerWithTooltip" type="Area2D"]
process_mode = 1
position = Vector2( -5, 0 )
script = ExtResource( 1 )
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 )
animations = ExtResource( 3 )
combine_when_selected_action_is_in = []
dialog_color = Color(0.321569, 0.662745, 0.301961, 1)
animations = ExtResource("3")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2( 0, -155 )
scale = Vector2( 0.389246, 0.389247 )
frames = SubResource( 20 )
position = Vector2(0, -155)
scale = Vector2(0.389246, 0.389247)
frames = SubResource("20")
animation = "speak_down"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 5, -151 )
shape = SubResource( 21 )
position = Vector2(5, -151)
shape = SubResource("21")
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2( 1, -473 )
position = Vector2(1, -473)

View File

@@ -1,8 +1,8 @@
[gd_resource type="Resource" script_class="ESCAnimationResource" load_steps=36 format=3 uid="uid://cyjo7aq0e4hbe"]
[ext_resource type="Script" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationresource.gd" id="1"]
[ext_resource type="Script" path="res://addons/escoria-core/game/core-scripts/resources/esc_directionangle.gd" id="2"]
[ext_resource type="Script" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationname.gd" id="3"]
[ext_resource type="Script" uid="uid://sksvt0n8gle2" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationresource.gd" id="1"]
[ext_resource type="Script" uid="uid://bxc3dll30x8tl" path="res://addons/escoria-core/game/core-scripts/resources/esc_directionangle.gd" id="2"]
[ext_resource type="Script" uid="uid://clixil1u5exq7" path="res://addons/escoria-core/game/core-scripts/resources/esc_animationname.gd" id="3"]
[sub_resource type="Resource" id="1"]
script = ExtResource("2")

View File

@@ -1,49 +1,55 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=9 format=3 uid="uid://cnpjc4783bqsj"]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2]
[ext_resource path="res://gymkhana/characters/talking-heads/assets/eneko-avatar-talking.png" type="Texture2D" id=3]
[ext_resource type="Resource" uid="uid://c4lhcwvjqx5ty" path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" id="1"]
[ext_resource type="Script" uid="uid://clg4yrj7v7eae" path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://c5g44ifbgf5fo" path="res://gymkhana/characters/talking-heads/assets/eneko-avatar-talking.png" id="3"]
[sub_resource type="AtlasTexture" id=2]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 72, 72 )
[sub_resource type="AtlasTexture" id="2"]
atlas = ExtResource("3")
region = Rect2(0, 0, 72, 72)
[sub_resource type="AtlasTexture" id=3]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 72, 72 )
[sub_resource type="AtlasTexture" id="3"]
atlas = ExtResource("3")
region = Rect2(0, 0, 72, 72)
[sub_resource type="AtlasTexture" id=4]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 72, 0, 72, 72 )
[sub_resource type="AtlasTexture" id="4"]
atlas = ExtResource("3")
region = Rect2(72, 0, 72, 72)
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ SubResource( 2 ) ],
[sub_resource type="SpriteFrames" id="1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("2")
}],
"loop": true,
"name": "idle",
"name": &"idle",
"speed": 5.0
}, {
"frames": [ SubResource( 3 ), SubResource( 4 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("3")
}, {
"duration": 1.0,
"texture": SubResource("4")
}],
"loop": true,
"name": "speak",
"name": &"speak",
"speed": 5.0
} ]
}]
[sub_resource type="CircleShape2D" id=5]
[sub_resource type="CircleShape2D" id="5"]
radius = 40.1123
[node name="ESCPlayerWithTooltip2" type="Area2D"]
process_mode = 1
script = ExtResource( 2 )
script = ExtResource("2")
global_id = "eneko_head"
is_interactive = false
is_movable = true
player_orients_on_arrival = false
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0, 0.560784, 0.0470588, 1 )
combine_when_selected_action_is_in = []
dialog_color = Color(0, 0.560784, 0.0470588, 1)
custom_data = {
"tooltips": {
"action1": "cocina_delante_eneko_smoking_action1",
@@ -54,20 +60,20 @@ action3_target_texts = {
"turno_cocina_frontal": "Ofrecer",
"turno_cocina_madera": "Ofrecerle leña"
}
target_when_selected_action_is_in = [ "action3" ]
target_when_selected_action_is_in = ["action3"]
selectable = true
animations = ExtResource( 1 )
animations = ExtResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2( -1, 0 )
scale = Vector2( 1.67778, 1.67778 )
frames = SubResource( 1 )
position = Vector2(-1, 0)
scale = Vector2(1.67778, 1.67778)
frames = SubResource("1")
animation = "speak"
flip_h = true
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2( -1, -153 )
position = Vector2(-1, -153)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 1 )
shape = SubResource( 5 )
position = Vector2(0, 1)
shape = SubResource("5")

View File

@@ -1,49 +1,55 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=9 format=3 uid="uid://cepk612gi1akw"]
[ext_resource path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" type="Resource" id=1]
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" type="Script" id=2]
[ext_resource path="res://gymkhana/characters/talking-heads/assets/oier-avatar-talking.png" type="Texture2D" id=3]
[ext_resource type="Resource" uid="uid://c4lhcwvjqx5ty" path="res://gymkhana/characters/eneko/eneko_smoking_animatios.tres" id="1"]
[ext_resource type="Script" uid="uid://clg4yrj7v7eae" path="res://addons/escoria-ui-return-monkey-island/esc_player_with_tooltip.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://c7y54yhu3kxh5" path="res://gymkhana/characters/talking-heads/assets/oier-avatar-talking.png" id="3"]
[sub_resource type="AtlasTexture" id=2]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 72, 72 )
[sub_resource type="AtlasTexture" id="2"]
atlas = ExtResource("3")
region = Rect2(0, 0, 72, 72)
[sub_resource type="AtlasTexture" id=3]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 0, 0, 72, 72 )
[sub_resource type="AtlasTexture" id="3"]
atlas = ExtResource("3")
region = Rect2(0, 0, 72, 72)
[sub_resource type="AtlasTexture" id=4]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 72, 0, 72, 72 )
[sub_resource type="AtlasTexture" id="4"]
atlas = ExtResource("3")
region = Rect2(72, 0, 72, 72)
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ SubResource( 2 ) ],
[sub_resource type="SpriteFrames" id="1"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("2")
}],
"loop": true,
"name": "idle",
"name": &"idle",
"speed": 5.0
}, {
"frames": [ SubResource( 3 ), SubResource( 4 ) ],
"frames": [{
"duration": 1.0,
"texture": SubResource("3")
}, {
"duration": 1.0,
"texture": SubResource("4")
}],
"loop": true,
"name": "speak",
"name": &"speak",
"speed": 5.0
} ]
}]
[sub_resource type="CircleShape2D" id=5]
[sub_resource type="CircleShape2D" id="5"]
radius = 40.1123
[node name="ESCPlayerWithTooltip2" type="Area2D"]
process_mode = 1
script = ExtResource( 2 )
script = ExtResource("2")
global_id = "oier_head"
is_interactive = false
is_movable = true
player_orients_on_arrival = false
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0.584314, 0.490196, 0.270588, 1 )
combine_when_selected_action_is_in = []
dialog_color = Color(0.584314, 0.490196, 0.270588, 1)
custom_data = {
"tooltips": {
"action1": "cocina_delante_eneko_smoking_action1",
@@ -54,21 +60,21 @@ action3_target_texts = {
"turno_cocina_frontal": "Ofrecer",
"turno_cocina_madera": "Ofrecerle leña"
}
target_when_selected_action_is_in = [ "action3" ]
target_when_selected_action_is_in = ["action3"]
selectable = true
animations = ExtResource( 1 )
animations = ExtResource("1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2( -1, 0 )
scale = Vector2( 1.67778, 1.67778 )
frames = SubResource( 1 )
position = Vector2(-1, 0)
scale = Vector2(1.67778, 1.67778)
frames = SubResource("1")
animation = "speak"
flip_h = true
[node name="dialog_position" type="Marker2D" parent="."]
position = Vector2( -1, -153 )
position = Vector2(-1, -153)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2( 0, 1 )
shape = SubResource( 5 )
position = Vector2(0, 1)
shape = SubResource("5")