mlpcardgame/Scenes/BoardUI.tscn

103 lines
2.6 KiB
Text
Raw Normal View History

2019-05-27 22:58:39 +00:00
[gd_scene load_steps=5 format=2]
2019-05-04 21:42:07 +00:00
2019-05-04 22:01:00 +00:00
[ext_resource path="res://Scenes/Scripts/BoardUI.gd" type="Script" id=1]
[ext_resource path="res://MLPAssets/Placeholders/unknowncard.jpg" type="Texture" id=2]
2019-05-27 22:58:39 +00:00
[ext_resource path="res://Scenes/UI/PhaseIcon.tscn" type="PackedScene" id=3]
2019-05-04 21:42:07 +00:00
[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")
2019-05-04 21:42:07 +00:00
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")
2019-05-04 21:42:07 +00:00
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")
2019-05-04 21:42:07 +00:00
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,
2019-05-27 22:58:39 +00:00
"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 ) ]
2019-05-04 21:42:07 +00:00
}
[node name="BoardUI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
2019-05-04 22:01:00 +00:00
mouse_filter = 2
script = ExtResource( 1 )
2019-05-04 21:42:07 +00:00
2019-05-27 22:58:39 +00:00
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
margin_bottom = 40.0
[node name="CardZoom" type="TextureRect" parent="."]
2019-05-04 22:01:00 +00:00
visible = false
modulate = Color( 1, 1, 1, 0 )
2019-05-27 22:58:39 +00:00
anchor_bottom = 1.0
2019-05-04 21:42:07 +00:00
margin_left = 40.0
2019-05-27 22:58:39 +00:00
margin_top = 20.0
2019-05-04 21:42:07 +00:00
margin_right = 384.0
2019-05-27 22:58:39 +00:00
margin_bottom = -280.0
2019-05-04 21:42:07 +00:00
rect_scale = Vector2( 0.8, 0.8 )
2019-05-05 19:19:39 +00:00
mouse_filter = 2
2019-05-27 22:58:39 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
2019-05-04 22:01:00 +00:00
texture = ExtResource( 2 )
2019-05-27 22:58:39 +00:00
expand = true
2019-05-04 21:42:07 +00:00
stretch_mode = 5
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
"anims/fade ui card" = SubResource( 1 )
2019-05-27 22:58:39 +00:00
[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