Dancing animations, some glitch fixed
This commit is contained in:
136
gymkhana/rooms/turno_cocina/creditos/OierDancing.tscn
Normal file
136
gymkhana/rooms/turno_cocina/creditos/OierDancing.tscn
Normal file
@@ -0,0 +1,136 @@
|
||||
[gd_scene load_steps=23 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
|
||||
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-donkey-sheet.png" type="Texture" id=2]
|
||||
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-idle.png" type="Texture" id=3]
|
||||
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-pulp-sheet.png" type="Texture" id=4]
|
||||
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/assets/oier-disco-sheet.png" type="Texture" id=5]
|
||||
[ext_resource path="res://gymkhana/rooms/turno_cocina/creditos/DancingAnimator.gd" type="Script" id=6]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 57.0
|
||||
height = 186.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id=15]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 0, 0, 185, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=16]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 185, 0, 185, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=17]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 370, 0, 185, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=18]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 555, 0, 185, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=19]
|
||||
flags = 4
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 0, 0, 188, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=20]
|
||||
flags = 4
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 188, 0, 188, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=21]
|
||||
flags = 4
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 0, 117, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=22]
|
||||
flags = 4
|
||||
atlas = ExtResource( 4 )
|
||||
region = Rect2( 0, 0, 177, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=23]
|
||||
flags = 4
|
||||
atlas = ExtResource( 4 )
|
||||
region = Rect2( 177, 0, 177, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=24]
|
||||
flags = 4
|
||||
atlas = ExtResource( 4 )
|
||||
region = Rect2( 354, 0, 177, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=25]
|
||||
flags = 4
|
||||
atlas = ExtResource( 4 )
|
||||
region = Rect2( 531, 0, 177, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=26]
|
||||
flags = 4
|
||||
atlas = ExtResource( 4 )
|
||||
region = Rect2( 708, 0, 177, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=27]
|
||||
flags = 4
|
||||
atlas = ExtResource( 4 )
|
||||
region = Rect2( 885, 0, 177, 375 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=28]
|
||||
flags = 4
|
||||
atlas = ExtResource( 3 )
|
||||
region = Rect2( 0, 0, 117, 375 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=14]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ],
|
||||
"loop": true,
|
||||
"name": "disco",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 19 ), SubResource( 20 ) ],
|
||||
"loop": true,
|
||||
"name": "donkey",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 21 ) ],
|
||||
"loop": true,
|
||||
"name": "idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ) ],
|
||||
"loop": true,
|
||||
"name": "pulp",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ SubResource( 28 ) ],
|
||||
"loop": true,
|
||||
"name": "speak",
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[node name="OierDancing" type="Area2D"]
|
||||
pause_mode = 1
|
||||
script = ExtResource( 1 )
|
||||
global_id = "oier_dancing"
|
||||
is_interactive = false
|
||||
player_orients_on_arrival = false
|
||||
combine_when_selected_action_is_in = [ ]
|
||||
dialog_color = Color( 0.321569, 0.662745, 0.301961, 1 )
|
||||
animations = null
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 14 )
|
||||
animation = "idle"
|
||||
script = ExtResource( 6 )
|
||||
|
||||
[node name="Timer" type="Timer" parent="AnimatedSprite"]
|
||||
wait_time = 6.0
|
||||
|
||||
[node name="dialog_position" type="Position2D" parent="."]
|
||||
position = Vector2( -2, -273 )
|
||||
|
||||
[connection signal="timeout" from="AnimatedSprite/Timer" to="AnimatedSprite" method="_on_Timer_timeout"]
|
||||
Reference in New Issue
Block a user