Files
gymkhana-actions/gymkhana/characters/talking-heads/eneko.tscn

74 lines
2.0 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[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]
[sub_resource type="AtlasTexture" id=2]
flags = 4
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=4]
flags = 4
atlas = ExtResource( 3 )
region = Rect2( 72, 0, 72, 72 )
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ SubResource( 2 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
}, {
"frames": [ SubResource( 3 ), SubResource( 4 ) ],
"loop": true,
"name": "speak",
"speed": 5.0
} ]
[sub_resource type="CircleShape2D" id=5]
radius = 40.1123
[node name="ESCPlayerWithTooltip2" type="Area2D"]
process_mode = 1
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 )
custom_data = {
"tooltips": {
"action1": "cocina_delante_eneko_smoking_action1",
"action2": "cocina_delante_eneko_smoking_action2"
}
}
action3_target_texts = {
"turno_cocina_frontal": "Ofrecer",
"turno_cocina_madera": "Ofrecerle leña"
}
target_when_selected_action_is_in = [ "action3" ]
selectable = true
animations = ExtResource( 1 )
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
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 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 1 )
shape = SubResource( 5 )