[gd_scene load_steps=13 format=3 uid="uid://bwe0t2hwl5pv1"] [ext_resource type="Script" uid="uid://b6if2dhse646b" path="res://scripts/game.gd" id="1_lnu2h"] [ext_resource type="PackedScene" uid="uid://j473t8iwu45y" path="res://scenes/blower.tscn" id="1_uwrxv"] [ext_resource type="Texture2D" uid="uid://1memr7pxwyl5" path="res://assets/background.svg" id="2_lbhrr"] [ext_resource type="PackedScene" uid="uid://bofnkey7erc2b" path="res://scenes/recorder.tscn" id="2_yqjtg"] [ext_resource type="LabelSettings" uid="uid://dl21bg2o5ltaj" path="res://label_settings.tres" id="5_iywne"] [ext_resource type="Texture2D" uid="uid://dg6g5gxw8s4ll" path="res://assets/Blower.svg" id="5_p57ef"] [ext_resource type="AudioStream" uid="uid://c7dphq7kgyqki" path="res://assets/Cheerful Annoyance.ogg" id="7_u5sy4"] [sub_resource type="Animation" id="Animation_yqjtg"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("blower:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.940732] } [sub_resource type="Animation" id="Animation_uwrxv"] resource_name = "blower_state" step = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("blower:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 0.940732] } [sub_resource type="Animation" id="Animation_lnu2h"] resource_name = "blower_up" step = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("blower:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.940732, 0.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_lnu2h"] _data = { &"RESET": SubResource("Animation_yqjtg"), &"blower_down": SubResource("Animation_uwrxv"), &"blower_up": SubResource("Animation_lnu2h") } [sub_resource type="Theme" id="Theme_p57ef"] Button/font_sizes/font_size = 32 Button/fonts/font = null [node name="Game" type="Node2D"] script = ExtResource("1_lnu2h") [node name="Background" type="Sprite2D" parent="."] position = Vector2(166, 805.938) scale = Vector2(1.5138, 2.35532) texture = ExtResource("2_lbhrr") [node name="Recorder" parent="." instance=ExtResource("2_yqjtg")] [node name="blower" parent="." instance=ExtResource("1_uwrxv")] position = Vector2(2.99997, 994) rotation = 0.940732 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_lnu2h") } [node name="Button" type="Button" parent="."] anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = 227.0 offset_top = 1491.0 offset_right = 420.0 offset_bottom = 1634.0 grow_horizontal = 2 grow_vertical = 0 size_flags_horizontal = 8 size_flags_vertical = 4 theme = SubResource("Theme_p57ef") text = "Press to Blow" icon = ExtResource("5_p57ef") icon_alignment = 2 expand_icon = true [node name="PointsTimer" type="Timer" parent="."] wait_time = 0.25 autostart = true [node name="PointsLabel" type="Label" parent="."] offset_left = 17.0 offset_top = 8.0 offset_right = 245.0 offset_bottom = 96.0 text = "Points: " label_settings = ExtResource("5_iywne") [node name="Points" type="Label" parent="."] offset_left = 253.0 offset_top = 10.0 offset_right = 293.0 offset_bottom = 98.0 text = "0" label_settings = ExtResource("5_iywne") [node name="BackgroundMusic" type="AudioStreamPlayer" parent="."] stream = ExtResource("7_u5sy4") volume_db = -12.0 autoplay = true parameters/looping = true [connection signal="button_down" from="Button" to="." method="_on_button_button_down"] [connection signal="button_up" from="Button" to="." method="_on_button_button_up"] [connection signal="timeout" from="PointsTimer" to="." method="_on_points_timer_timeout"]