170 lines
6.3 KiB
Text
170 lines
6.3 KiB
Text
[gd_scene load_steps=27 format=3 uid="uid://csugksrssibrp"]
|
|
|
|
[ext_resource type="Script" uid="uid://cy636hseq5fo4" path="res://paintings/layout/painting_display.gd" id="1_gy870"]
|
|
[ext_resource type="PackedScene" uid="uid://donkfeu1x888o" path="res://paintings/painting.tscn" id="2_5v8dq"]
|
|
[ext_resource type="Texture2D" uid="uid://dj7wj38a447jn" path="res://paintings/veryart/1/F0.png" id="2_7o3cd"]
|
|
[ext_resource type="Texture2D" uid="uid://drlta7bv52utw" path="res://paintings/veryart/2/F0.png" id="3_t05i8"]
|
|
[ext_resource type="Texture2D" uid="uid://crih6jm2ms4kt" path="res://paintings/veryart/3/F0.png" id="4_k2el0"]
|
|
[ext_resource type="Texture2D" uid="uid://byvh75dt6j3tv" path="res://paintings/veryart/4/F0.png" id="5_238kw"]
|
|
[ext_resource type="Texture2D" uid="uid://dchq2odvlum6i" path="res://paintings/veryart/5/F0.png" id="6_ugvm4"]
|
|
[ext_resource type="Texture2D" uid="uid://b0588wdutp328" path="res://paintings/veryart/6/F0.png" id="7_aqt5w"]
|
|
[ext_resource type="Texture2D" uid="uid://cse035uvcnob5" path="res://paintings/veryart/7/F0.png" id="8_dng8e"]
|
|
[ext_resource type="Texture2D" uid="uid://cco31jtejtaex" path="res://paintings/veryart/8/F0.png" id="9_mtyqy"]
|
|
[ext_resource type="Texture2D" uid="uid://b57h2svvximny" path="res://paintings/veryart/9/F0.png" id="10_ybjp4"]
|
|
[ext_resource type="Texture2D" uid="uid://b7dbha8x4c0tj" path="res://paintings/veryart/10/F0.png" id="11_q2yjp"]
|
|
[ext_resource type="Texture2D" uid="uid://bb6aiffvsc8mr" path="res://paintings/veryart/11/F0.png" id="12_r4wn3"]
|
|
[ext_resource type="Texture2D" uid="uid://b5tlr6nxy8vft" path="res://paintings/veryart/12.png" id="13_v614m"]
|
|
[ext_resource type="Texture2D" uid="uid://dps241gwu1flx" path="res://paintings/veryart/notart.png" id="14_5sb26"]
|
|
|
|
[sub_resource type="Animation" id="Animation_a2c10"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Root/Shaker:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Root/Shaker/GPUParticles2D:emitting")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Root:position")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector2(600, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_7o3cd"]
|
|
resource_name = "broke"
|
|
length = 0.3
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Root/Shaker:rotation")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(0.5, 1),
|
|
"update": 0,
|
|
"values": [0.0, 0.2617993877991494]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Root/Shaker/GPUParticles2D:emitting")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [false, true]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_t05i8"]
|
|
resource_name = "slide"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Root:position")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(0.2, 1),
|
|
"update": 0,
|
|
"values": [Vector2(800, 0), Vector2(0, 0)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_a2c10"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_a2c10"),
|
|
&"broke": SubResource("Animation_7o3cd"),
|
|
&"slide": SubResource("Animation_t05i8")
|
|
}
|
|
|
|
[sub_resource type="Gradient" id="Gradient_7o3cd"]
|
|
offsets = PackedFloat32Array(0.92493296, 1)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_t05i8"]
|
|
gradient = SubResource("Gradient_7o3cd")
|
|
width = 12
|
|
height = 12
|
|
fill = 1
|
|
fill_from = Vector2(0.5, 0.5)
|
|
fill_to = Vector2(1, 0.5)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_t05i8"]
|
|
offsets = PackedFloat32Array(0, 0.2327044, 1)
|
|
colors = PackedColorArray(0.99999994, 0.57875466, 0.3272594, 1, 0.26293245, 0.26293245, 0.26293245, 1, 0, 0, 0, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_k2el0"]
|
|
gradient = SubResource("Gradient_t05i8")
|
|
|
|
[sub_resource type="Curve" id="Curve_238kw"]
|
|
_limits = [0.0, 4.0, 0.0, 1.0]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.08689458, 4), 0.0, 0.0, 0, 0, Vector2(1, 0.11427331), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_ugvm4"]
|
|
curve = SubResource("Curve_238kw")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_t05i8"]
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(150, 100, 1)
|
|
gravity = Vector3(0, -50, 0)
|
|
scale_min = 0.79999995
|
|
scale_curve = SubResource("CurveTexture_ugvm4")
|
|
color_ramp = SubResource("GradientTexture1D_k2el0")
|
|
hue_variation_min = -2.2351742e-08
|
|
hue_variation_max = 0.09999997
|
|
|
|
[node name="PaintingDisplay" type="Node2D"]
|
|
script = ExtResource("1_gy870")
|
|
custom_paintings = Array[Texture2D]([ExtResource("2_7o3cd"), ExtResource("3_t05i8"), ExtResource("4_k2el0"), ExtResource("5_238kw"), ExtResource("6_ugvm4"), ExtResource("7_aqt5w"), ExtResource("8_dng8e"), ExtResource("9_mtyqy"), ExtResource("10_ybjp4"), ExtResource("11_q2yjp"), ExtResource("12_r4wn3"), ExtResource("13_v614m"), ExtResource("14_5sb26")])
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_a2c10")
|
|
}
|
|
|
|
[node name="Root" type="Node2D" parent="."]
|
|
position = Vector2(600, 0)
|
|
|
|
[node name="Shaker" type="Node2D" parent="Root"]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Painting" parent="Root/Shaker" instance=ExtResource("2_5v8dq")]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="Root/Shaker"]
|
|
emitting = false
|
|
amount = 32
|
|
texture = SubResource("GradientTexture2D_t05i8")
|
|
lifetime = 2.0
|
|
one_shot = true
|
|
process_material = SubResource("ParticleProcessMaterial_t05i8")
|