132 lines
3.3 KiB
Text
132 lines
3.3 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Scenes/Scripts/BoardUI.gd" type="Script" id=1]
|
|
[ext_resource path="res://Scenes/UI/PhaseIcon.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://MLPAssets/Placeholders/unknowncard.jpg" type="Texture" id=3]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
resource_name = "fade ui card"
|
|
length = 0.1
|
|
step = 0.01
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("CardZoom:visible")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.01 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 1,
|
|
"values": [ false, true ]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath("CardZoom:modulate")
|
|
tracks/1/interp = 2
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 0.01, 0.1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("CardZoom:margin_top")
|
|
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": [ 20, 60 ]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/path = NodePath("CardZoom:rect_size")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/keys = {
|
|
"times": PoolRealArray( 0, 0.1 ),
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector2( 344, 500 ), Vector2( 344, 500 ) ]
|
|
}
|
|
|
|
[node name="BoardUI" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
anchor_right = 1.0
|
|
margin_bottom = 40.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Panel"]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -640.0
|
|
margin_top = 10.0
|
|
margin_right = 1330.0
|
|
margin_bottom = 90.0
|
|
rect_scale = Vector2( 0.65, 0.65 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
alignment = 1
|
|
|
|
[node name="ReadyPhase" parent="Panel/HBoxContainer" instance=ExtResource( 2 )]
|
|
margin_left = 819.0
|
|
margin_top = 0.0
|
|
margin_right = 899.0
|
|
margin_bottom = 80.0
|
|
rect_scale = Vector2( 1, 1 )
|
|
|
|
[node name="ScorePhase" parent="Panel/HBoxContainer" instance=ExtResource( 2 )]
|
|
margin_left = 903.0
|
|
margin_top = 0.0
|
|
margin_right = 983.0
|
|
margin_bottom = 80.0
|
|
rect_scale = Vector2( 1, 1 )
|
|
phaseID = 3
|
|
|
|
[node name="MainPhase" parent="Panel/HBoxContainer" instance=ExtResource( 2 )]
|
|
margin_left = 987.0
|
|
margin_top = 0.0
|
|
margin_right = 1067.0
|
|
margin_bottom = 80.0
|
|
rect_scale = Vector2( 1, 1 )
|
|
phaseID = 2
|
|
|
|
[node name="TroublePhase" parent="Panel/HBoxContainer" instance=ExtResource( 2 )]
|
|
margin_left = 1071.0
|
|
margin_top = 0.0
|
|
margin_right = 1151.0
|
|
margin_bottom = 80.0
|
|
rect_scale = Vector2( 1, 1 )
|
|
phaseID = 1
|
|
|
|
[node name="CardZoom" type="TextureRect" parent="."]
|
|
visible = false
|
|
modulate = Color( 1, 1, 1, 0 )
|
|
anchor_bottom = 1.0
|
|
margin_left = 40.0
|
|
margin_top = 20.0
|
|
margin_right = 384.0
|
|
margin_bottom = -280.0
|
|
rect_scale = Vector2( 0.8, 0.8 )
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
texture = ExtResource( 3 )
|
|
expand = true
|
|
stretch_mode = 5
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
"anims/fade ui card" = SubResource( 1 )
|