[gd_scene load_steps=8 format=3 uid="uid://j473t8iwu45y"]

[ext_resource type="Texture2D" uid="uid://dg6g5gxw8s4ll" path="res://assets/Blower.svg" id="1_5ackw"]
[ext_resource type="Script" uid="uid://btm0qil4ekmuj" path="res://scripts/blower.gd" id="1_uq2md"]
[ext_resource type="Texture2D" uid="uid://d0iedh3qhku3k" path="res://assets/soap.svg" id="3_mkv3y"]
[ext_resource type="Shader" uid="uid://bblenww4c3cgx" path="res://shaders/bubble.gdshader" id="4_mkv3y"]
[ext_resource type="Shader" uid="uid://ds78mh2iyge6a" path="res://shaders/soap.gdshader" id="5_rr1ey"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_mkv3y"]
shader = ExtResource("5_rr1ey")

[sub_resource type="ShaderMaterial" id="ShaderMaterial_uq2md"]
shader = ExtResource("4_mkv3y")
shader_parameter/distortionView = 0.03
shader_parameter/speedView = 0.5
shader_parameter/distortionVertex = 0.03
shader_parameter/speedVertex = 0.1

[node name="blower" type="Node2D"]
script = ExtResource("1_uq2md")

[node name="BlowerSoap" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_mkv3y")
position = Vector2(230.125, 125.875)
scale = Vector2(0.35498, 0.35498)
texture = ExtResource("3_mkv3y")

[node name="Blower" type="Sprite2D" parent="."]
position = Vector2(237, 322)
scale = Vector2(0.335113, 0.335113)
texture = ExtResource("1_5ackw")

[node name="SoapBubbles" type="CPUParticles2D" parent="."]
material = SubResource("ShaderMaterial_uq2md")
position = Vector2(229, 119)
amount = 16
texture = ExtResource("3_mkv3y")
lifetime = 8.0
explosiveness = 0.1
randomness = 0.2
lifetime_randomness = 0.2
direction = Vector2(90, 0)
spread = 120.0
gravity = Vector2(400, -50)
scale_amount_min = 0.05
scale_amount_max = 0.4
