pandemonium_demo_projects/loading/background_load/paintings.tscn

213 lines
5.9 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=9 format=2]
[ext_resource path="res://paintings.gd" type="Script" id=1]
[ext_resource path="res://paintings/painting_babel.jpg" type="Texture" id=2]
[ext_resource path="res://paintings/painting_las_meninas.png" type="Texture" id=3]
[ext_resource path="res://paintings/painting_mona_lisa.jpg" type="Texture" id=4]
[ext_resource path="res://paintings/painting_old_guitarist.jpg" type="Texture" id=5]
[ext_resource path="res://paintings/painting_parasol.jpg" type="Texture" id=6]
[ext_resource path="res://paintings/painting_the_swing.jpg" type="Texture" id=7]
[sub_resource type="Animation" id=1]
resource_name = "move_around"
length = 4.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("MonaLisa:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 117.659, 173.793 ), Vector2( 164.387, 206.955 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("MonaLisa:rotation_degrees")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0 ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("Parasol:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 451.448, 256.916 ), Vector2( 483.102, 317.21 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Parasol:rotation_degrees")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0 ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("TheSwing:position")
tracks/4/interp = 2
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 715.927, 181.745 ), Vector2( 661.663, 205.863 ) ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("TheSwing:rotation_degrees")
tracks/5/interp = 2
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0 ]
}
tracks/6/type = "value"
tracks/6/path = NodePath("OldGuitarist:position")
tracks/6/interp = 2
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 886.982, 185.641 ), Vector2( 901.179, 210.693 ) ]
}
tracks/7/type = "value"
tracks/7/path = NodePath("OldGuitarist:rotation_degrees")
tracks/7/interp = 2
tracks/7/loop_wrap = true
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 15.0 ]
}
tracks/8/type = "value"
tracks/8/path = NodePath("Babel:position")
tracks/8/interp = 2
tracks/8/loop_wrap = true
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 155.796, 468.287 ), Vector2( 194.21, 444.904 ) ]
}
tracks/9/type = "value"
tracks/9/path = NodePath("Babel:rotation_degrees")
tracks/9/interp = 2
tracks/9/loop_wrap = true
tracks/9/imported = false
tracks/9/enabled = true
tracks/9/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0 ]
}
tracks/10/type = "value"
tracks/10/path = NodePath("LasMeninas:position")
tracks/10/interp = 2
tracks/10/loop_wrap = true
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 861.734, 494.059 ), Vector2( 840.022, 470.677 ) ]
}
tracks/11/type = "value"
tracks/11/path = NodePath("LasMeninas:rotation_degrees")
tracks/11/interp = 2
tracks/11/loop_wrap = true
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 0.0 ]
}
[node name="Paintings" type="Node2D"]
script = ExtResource( 1 )
[node name="Babel" type="Sprite" parent="."]
position = Vector2( 155.796, 468.287 )
scale = Vector2( 0.29005, 0.29005 )
texture = ExtResource( 2 )
[node name="LasMeninas" type="Sprite" parent="."]
position = Vector2( 861.734, 494.059 )
scale = Vector2( 0.348146, 0.348146 )
texture = ExtResource( 3 )
[node name="MonaLisa" type="Sprite" parent="."]
position = Vector2( 117.659, 173.793 )
scale = Vector2( 0.696799, 0.696799 )
texture = ExtResource( 4 )
[node name="OldGuitarist" type="Sprite" parent="."]
position = Vector2( 886.982, 185.641 )
scale = Vector2( 0.344706, 0.328421 )
texture = ExtResource( 5 )
[node name="Parasol" type="Sprite" parent="."]
position = Vector2( 451.448, 256.916 )
scale = Vector2( 0.557998, 0.557998 )
texture = ExtResource( 6 )
[node name="TheSwing" type="Sprite" parent="."]
position = Vector2( 715.927, 181.745 )
scale = Vector2( 0.286677, 0.286677 )
texture = ExtResource( 7 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "move_around"
anims/move_around = SubResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2( 512, 300 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Switch" type="Button" parent="CanvasLayer"]
margin_left = 10.0
margin_top = 10.0
margin_right = 156.0
margin_bottom = 30.0
text = "Switch to Sculptures"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CanvasLayer/Switch" to="." method="_on_switch_pressed"]