mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
91 lines
2.5 KiB
Text
91 lines
2.5 KiB
Text
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://Effects/confetti2.png" type="Texture" id=1]
|
|
[ext_resource path="res://Bucket/Confetti.tres" type="Material" id=2]
|
|
[ext_resource path="res://Effects/confetti3.png" type="Texture" id=3]
|
|
[ext_resource path="res://Effects/confetti1.png" type="Texture" id=4]
|
|
[ext_resource path="res://Bucket/Confetti.gd" type="Script" id=5]
|
|
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=6]
|
|
[ext_resource path="res://Ball/sprite.png" type="Texture" id=7]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
resource_name = "+1Ball"
|
|
length = 2.0
|
|
tracks/0/type = "bezier"
|
|
tracks/0/path = NodePath("Label:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"points": PoolRealArray( 0, -0.25, 0, 0.25, 0, -60, -0.25, 0, 0.25, 0, -69, -0.25, 0, 0.25, 0 ),
|
|
"times": PoolRealArray( 0, 1, 2 )
|
|
}
|
|
|
|
[node name="Confetti" type="Node2D"]
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="Green" type="Particles2D" parent="."]
|
|
position = Vector2( 0, -2 )
|
|
emitting = false
|
|
amount = 9
|
|
lifetime = 3.0
|
|
one_shot = true
|
|
explosiveness = 0.9
|
|
local_coords = false
|
|
process_material = ExtResource( 2 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="Pink" type="Particles2D" parent="."]
|
|
position = Vector2( 0, -2 )
|
|
emitting = false
|
|
amount = 9
|
|
lifetime = 3.0
|
|
one_shot = true
|
|
explosiveness = 0.9
|
|
local_coords = false
|
|
process_material = ExtResource( 2 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="Yellow" type="Particles2D" parent="."]
|
|
position = Vector2( 0, -2 )
|
|
emitting = false
|
|
amount = 9
|
|
lifetime = 3.0
|
|
one_shot = true
|
|
explosiveness = 0.9
|
|
local_coords = false
|
|
process_material = ExtResource( 2 )
|
|
texture = ExtResource( 4 )
|
|
|
|
[node name="KillTimer" type="Timer" parent="."]
|
|
wait_time = 2.0
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/+1Ball = SubResource( 1 )
|
|
|
|
[node name="Label" type="Node2D" parent="."]
|
|
position = Vector2( 0, -69 )
|
|
z_index = 9
|
|
|
|
[node name="Label" type="Label" parent="Label"]
|
|
margin_left = -40.0
|
|
margin_top = -16.0
|
|
margin_right = 40.0
|
|
margin_bottom = 2.0
|
|
theme = ExtResource( 6 )
|
|
custom_colors/font_color = Color( 0.454902, 0.337255, 0.607843, 1 )
|
|
custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
|
|
text = "+ 1"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="Label"]
|
|
position = Vector2( -13, -5 )
|
|
texture = ExtResource( 7 )
|
|
|
|
[connection signal="timeout" from="KillTimer" to="." method="_on_KillTimer_timeout"]
|