[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/pieces/california/wP.png" type="Texture" id=1]
[ext_resource path="res://piece/takeable-circle.tres" type="Texture" id=2]
[ext_resource path="res://piece/Piece.gd" type="Script" id=3]
[ext_resource path="res://piece/check-circle.tres" type="Texture" id=4]
[sub_resource type="Animation" id=1]
resource_name = "Move"
length = 0.3
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.001, 0.15, 0.3 ),
"transitions": PoolRealArray( 2, 1, 1, 0.5 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1, 1 ), Vector2( 1.15, 1.15 ), Vector2( 1, 1 ) ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 1, 1 ),
"values": [ {
"args": [ 1 ],
"method": "set_zindex"
}, {
"args": [ 0 ],
"method": "set_zindex"
} ]
}
[sub_resource type="Animation" id=2]
resource_name = "Took"
length = 0.3
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.05, 0.1, 0.2, 0.3 ),
"transitions": PoolRealArray( 2, 1, 1, 1, 0.5 ),
"update": 0,
"values": [ Vector2( 1, 1 ), Vector2( 1.25, 1.25 ), Vector2( 1.35, 1.35 ), Vector2( 0.25, 0.25 ), Vector2( 0, 0 ) ]
}
tracks/1/type = "method"
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.3 ),
"transitions": PoolRealArray( 1 ),
"values": [ {
"args": [ ],
"method": "queue_free"
} ]
}
[sub_resource type="Animation" id=6]
resource_name = "Left"
length = 0.4
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2, 0.4 ),
"transitions": PoolRealArray( 2, 1, 0.5 ),
"update": 0,
"values": [ 0.0, -20.0, 0.0 ]
}
[sub_resource type="Animation" id=9]
resource_name = "Right"
length = 0.4
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2, 0.4 ),
"transitions": PoolRealArray( 2, 1, 0.5 ),
"update": 0,
"values": [ 0.0, 20.0, 0.0 ]
}
[node name="Piece" type="AspectRatioContainer" groups=["piece"]]
margin_right = 80.0
margin_bottom = 80.0
rect_pivot_offset = Vector2( 40, 40 )
mouse_filter = 2
script = ExtResource( 3 )
[node name="Background" type="ColorRect" parent="."]
unique_name_in_owner = true
visible = false
margin_right = 80.0
margin_bottom = 80.0
mouse_filter = 2
color = Color( 0.0784314, 0.333333, 0.117647, 0.498039 )
[node name="Check" type="TextureRect" parent="."]
unique_name_in_owner = true
visible = false
margin_right = 80.0
margin_bottom = 80.0
mouse_filter = 2
texture = ExtResource( 4 )
expand = true
stretch_mode = 6
[node name="Sprite" type="TextureRect" parent="."]
margin_right = 80.0
margin_bottom = 80.0
mouse_filter = 2
texture = ExtResource( 1 )
expand = true
stretch_mode = 6
[node name="Frame" type="TextureRect" parent="."]
unique_name_in_owner = true
visible = false
margin_right = 80.0
margin_bottom = 80.0
mouse_filter = 2
texture = ExtResource( 2 )
expand = true
stretch_mode = 6
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Move = SubResource( 1 )
anims/Took = SubResource( 2 )
[node name="RotatePlayer" type="AnimationPlayer" parent="."]
anims/Left = SubResource( 6 )
anims/Right = SubResource( 9 )