156 lines
4 KiB
Text
156 lines
4 KiB
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://Scenes/DeckBuilder/CardZoom.gd" type="Script" id=1]
|
|
[ext_resource path="res://UIAssets/Effects/FadeBorder.shader" type="Shader" id=2]
|
|
[ext_resource path="res://MLPAssets/Placeholders/unknowncard.jpg" type="Texture" id=3]
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
resource_local_to_scene = true
|
|
shader = ExtResource( 2 )
|
|
shader_param/effect_color = Color( 0.262745, 0.72549, 0.976471, 0.537255 )
|
|
shader_param/effect_width = 0.05
|
|
shader_param/effect_offset = 0.01
|
|
|
|
[sub_resource type="Animation" id=2]
|
|
resource_name = "zoom-fadein"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0.05, 0.15 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 2
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 0, 0.05 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 1,
|
|
"values": [ false, true ]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("TextureRect:rect_position")
|
|
tracks/2/interp = 2
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"times": PoolRealArray( 0.05, 0.15 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 38.9606, 101.817 ), Vector2( 0, 0 ) ]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/path = NodePath("TextureRect:rect_scale")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/keys = {
|
|
"times": PoolRealArray( 0.05, 0.15 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 0.9, 0.9 ), Vector2( 1, 1 ) ]
|
|
}
|
|
|
|
[sub_resource type="Animation" id=3]
|
|
resource_name = "zoom-fadeout"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".:modulate")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath(".:visible")
|
|
tracks/1/interp = 2
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 0.1, 0.15 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 1,
|
|
"values": [ true, false ]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("TextureRect:rect_position")
|
|
tracks/2/interp = 2
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"times": PoolRealArray( 0, 0.1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 0, 0 ), Vector2( 30, 0 ) ]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/path = NodePath("TextureRect:rect_scale")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 1, 1 ) ]
|
|
}
|
|
|
|
[node name="CardZoom" type="Control"]
|
|
visible = false
|
|
modulate = Color( 1, 1, 1, 0 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_right = -936.0
|
|
margin_bottom = -320.0
|
|
rect_min_size = Vector2( 344, 480 )
|
|
mouse_filter = 2
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
material = SubResource( 1 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -20.0
|
|
margin_top = -20.0
|
|
margin_right = 20.0
|
|
margin_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 30.0
|
|
margin_right = 30.0
|
|
margin_bottom = -0.00012207
|
|
mouse_filter = 2
|
|
texture = ExtResource( 3 )
|
|
expand = true
|
|
stretch_mode = 6
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/zoom-fadein = SubResource( 2 )
|
|
anims/zoom-fadeout = SubResource( 3 )
|