mlpcardgame/Scenes/BoardUI.tscn

103 lines
2.6 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://Scenes/Scripts/BoardUI.gd" type="Script" id=1]
[ext_resource path="res://MLPAssets/Placeholders/unknowncard.jpg" type="Texture" id=2]
[ext_resource path="res://Scenes/UI/PhaseIcon.tscn" type="PackedScene" 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
[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( 2 )
expand = true
stretch_mode = 5
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
"anims/fade ui card" = SubResource( 1 )
[node name="ReadyPhase" parent="." instance=ExtResource( 3 )]
position = Vector2( 565, 40 )
[node name="TroublePhase" parent="." instance=ExtResource( 3 )]
position = Vector2( 615, 40 )
phaseID = 1
[node name="MainPhase" parent="." instance=ExtResource( 3 )]
position = Vector2( 665, 40 )
phaseID = 2
[node name="ScorePhase" parent="." instance=ExtResource( 3 )]
position = Vector2( 715, 40 )
phaseID = 3