[gd_scene load_steps=7 format=2]

[ext_resource path="res://scripts/bonus.gd" type="Script" id=1]
[ext_resource path="res://sprites/bonuses.png" type="Texture" id=2]
[ext_resource path="res://fonts/myfont.ttf" type="DynamicFontData" id=3]

[sub_resource type="Animation" id=1]
resource_name = "blink"
length = 0.2
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("frame:modulate")
tracks/0/interp = 1
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": 1,
"values": [ Color( 1, 1, 0, 1 ), Color( 1, 1, 1, 1 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("logo:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 0, 1 ) ]
}

[sub_resource type="DynamicFont" id=2]
size = 8
font_data = ExtResource( 3 )

[sub_resource type="CircleShape2D" id=3]
radius = 6.0

[node name="bonus" type="Area2D"]
monitoring = false
collision_layer = 0
collision_mask = 4
script = ExtResource( 1 )

[node name="frame" type="Sprite" parent="."]
modulate = Color( 1, 1, 0, 1 )
texture = ExtResource( 2 )
centered = false
vframes = 4
hframes = 4

[node name="logo" type="Sprite" parent="."]
texture = ExtResource( 2 )
centered = false
vframes = 4
hframes = 4
frame = 4

[node name="anim" type="AnimationPlayer" parent="."]
autoplay = "blink"
anims/blink = SubResource( 1 )

[node name="Label" type="Label" parent="."]
margin_right = 16.0
margin_bottom = 14.0
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
align = 1
valign = 1

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 8, 8 )
shape = SubResource( 3 )
