mirror of
https://github.com/anthonyaxenov/balloon-pop.git
synced 2024-10-21 14:23:22 +00:00
130 lines
6.0 KiB
Plaintext
130 lines
6.0 KiB
Plaintext
[gd_scene load_steps=51 format=2]
|
|
|
|
[ext_resource path="res://assets/green-balloon/1.png" type="Texture" id=1]
|
|
[ext_resource path="res://assets/blue-balloon/6.png" type="Texture" id=2]
|
|
[ext_resource path="res://assets/blue-balloon/5.png" type="Texture" id=3]
|
|
[ext_resource path="res://assets/blue-balloon/4.png" type="Texture" id=4]
|
|
[ext_resource path="res://assets/blue-balloon/2.png" type="Texture" id=5]
|
|
[ext_resource path="res://assets/blue-balloon/3.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/blue-balloon/1.png" type="Texture" id=7]
|
|
[ext_resource path="res://assets/red-balloon/3.png" type="Texture" id=8]
|
|
[ext_resource path="res://assets/purple-balloon/1.png" type="Texture" id=9]
|
|
[ext_resource path="res://assets/yellow-balloon/5.png" type="Texture" id=10]
|
|
[ext_resource path="res://assets/orange-balloon/4.png" type="Texture" id=11]
|
|
[ext_resource path="res://assets/red-balloon/2.png" type="Texture" id=12]
|
|
[ext_resource path="res://assets/red-balloon/1.png" type="Texture" id=13]
|
|
[ext_resource path="res://assets/orange-balloon/1.png" type="Texture" id=14]
|
|
[ext_resource path="res://assets/purple-balloon/2.png" type="Texture" id=15]
|
|
[ext_resource path="res://assets/green-balloon/6.png" type="Texture" id=16]
|
|
[ext_resource path="res://assets/yellow-balloon/2.png" type="Texture" id=17]
|
|
[ext_resource path="res://assets/red-balloon/4.png" type="Texture" id=18]
|
|
[ext_resource path="res://Balloon.gd" type="Script" id=19]
|
|
[ext_resource path="res://assets/orange-balloon/2.png" type="Texture" id=20]
|
|
[ext_resource path="res://assets/pink-ballon/3.png" type="Texture" id=21]
|
|
[ext_resource path="res://assets/pink-ballon/4.png" type="Texture" id=22]
|
|
[ext_resource path="res://assets/red-balloon/5.png" type="Texture" id=23]
|
|
[ext_resource path="res://assets/pink-ballon/2.png" type="Texture" id=24]
|
|
[ext_resource path="res://assets/pink-ballon/6.png" type="Texture" id=25]
|
|
[ext_resource path="res://assets/orange-balloon/6.png" type="Texture" id=26]
|
|
[ext_resource path="res://assets/green-balloon/4.png" type="Texture" id=27]
|
|
[ext_resource path="res://assets/purple-balloon/4.png" type="Texture" id=28]
|
|
[ext_resource path="res://assets/orange-balloon/3.png" type="Texture" id=29]
|
|
[ext_resource path="res://assets/green-balloon/2.png" type="Texture" id=30]
|
|
[ext_resource path="res://assets/green-balloon/5.png" type="Texture" id=31]
|
|
[ext_resource path="res://assets/purple-balloon/3.png" type="Texture" id=32]
|
|
[ext_resource path="res://assets/yellow-balloon/1.png" type="Texture" id=33]
|
|
[ext_resource path="res://assets/red-balloon/6.png" type="Texture" id=34]
|
|
[ext_resource path="res://assets/pink-ballon/5.png" type="Texture" id=35]
|
|
[ext_resource path="res://assets/yellow-balloon/4.png" type="Texture" id=36]
|
|
[ext_resource path="res://assets/purple-balloon/6.png" type="Texture" id=37]
|
|
[ext_resource path="res://assets/yellow-balloon/6.png" type="Texture" id=38]
|
|
[ext_resource path="res://assets/purple-balloon/5.png" type="Texture" id=39]
|
|
[ext_resource path="res://assets/yellow-balloon/3.png" type="Texture" id=40]
|
|
[ext_resource path="res://assets/green-balloon/3.png" type="Texture" id=41]
|
|
[ext_resource path="res://assets/orange-balloon/5.png" type="Texture" id=42]
|
|
[ext_resource path="res://assets/pink-ballon/1.png" type="Texture" id=43]
|
|
[ext_resource path="res://assets/sounds/balloon_pop1.mp3" type="AudioStream" id=44]
|
|
[ext_resource path="res://assets/sounds/balloon_pop3.mp3" type="AudioStream" id=45]
|
|
[ext_resource path="res://assets/sounds/balloon_pop2.mp3" type="AudioStream" id=46]
|
|
[ext_resource path="res://assets/sounds/balloon_pop4.mp3" type="AudioStream" id=47]
|
|
[ext_resource path="res://assets/sounds/balloon_pop5.mp3" type="AudioStream" id=48]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 7 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 4 ), ExtResource( 3 ), ExtResource( 2 ) ],
|
|
"loop": false,
|
|
"name": "blue",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [ ExtResource( 1 ), ExtResource( 30 ), ExtResource( 41 ), ExtResource( 27 ), ExtResource( 31 ), ExtResource( 16 ) ],
|
|
"loop": false,
|
|
"name": "green",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [ ExtResource( 14 ), ExtResource( 20 ), ExtResource( 29 ), ExtResource( 11 ), ExtResource( 42 ), ExtResource( 26 ) ],
|
|
"loop": false,
|
|
"name": "orange",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [ ExtResource( 43 ), ExtResource( 24 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 35 ), ExtResource( 25 ) ],
|
|
"loop": false,
|
|
"name": "pink",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [ ExtResource( 9 ), ExtResource( 15 ), ExtResource( 32 ), ExtResource( 28 ), ExtResource( 39 ), ExtResource( 37 ) ],
|
|
"loop": false,
|
|
"name": "purple",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [ ExtResource( 13 ), ExtResource( 12 ), ExtResource( 8 ), ExtResource( 18 ), ExtResource( 23 ), ExtResource( 34 ) ],
|
|
"loop": false,
|
|
"name": "red",
|
|
"speed": 15.0
|
|
}, {
|
|
"frames": [ ExtResource( 33 ), ExtResource( 17 ), ExtResource( 40 ), ExtResource( 36 ), ExtResource( 10 ), ExtResource( 38 ) ],
|
|
"loop": false,
|
|
"name": "yellow",
|
|
"speed": 15.0
|
|
} ]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
radius = 147.5
|
|
height = 121.0
|
|
|
|
[node name="Balloon" type="Area2D"]
|
|
position = Vector2( 148, 217 )
|
|
script = ExtResource( 19 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
frames = SubResource( 1 )
|
|
animation = "pink"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 0, -1 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="PopSound1" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 44 )
|
|
|
|
[node name="PopSound2" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 46 )
|
|
|
|
[node name="PopSound3" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 45 )
|
|
|
|
[node name="PopSound4" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 47 )
|
|
|
|
[node name="PopSound5" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 48 )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.01
|
|
autostart = true
|
|
|
|
[connection signal="input_event" from="." to="." method="_on_Balloon_input_event"]
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|