[gd_scene load_steps=8 format=2]

[ext_resource path="res://scripts/aquarium.gd" type="Script" id=1]
[ext_resource path="res://images/tank_background.png" type="Texture" id=2]
[ext_resource path="res://scenes/fish.tscn" type="PackedScene" id=3]
[ext_resource path="res://scripts/pause_menu.gd" type="Script" id=4]
[ext_resource path="res://music/Relax_at_the_Aquarium.ogg" type="AudioStream" id=5]
[ext_resource path="res://scripts/aquarium_settings_menu.gd" type="Script" id=6]
[ext_resource path="res://scripts/options_menu.gd" type="Script" id=7]

[node name="aquarium" type="Node2D"]
script = ExtResource( 1 )
__meta__ = {
"__editor_plugin_screen__": "Script",
"_edit_lock_": true
}

[node name="background" type="Sprite" parent="."]
position = Vector2( 511.969, 300.122 )
scale = Vector2( 0.677005, 0.535149 )
texture = ExtResource( 2 )

[node name="fish" parent="." instance=ExtResource( 3 )]
position = Vector2( 587.599, 421.028 )
fish_name = "Tanza"

[node name="fish1" parent="." instance=ExtResource( 3 )]
position = Vector2( 308.51, 288.899 )
fish_name = "Gary"

[node name="fish2" parent="." instance=ExtResource( 3 )]
position = Vector2( 794.484, 196.791 )
fish_name = "Zish"

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
pause_mode = 2
stream = ExtResource( 5 )
autoplay = true

[node name="canvas" type="CanvasLayer" parent="."]

[node name="aquarium_settings_button" type="Button" parent="canvas"]
margin_left = 190.959
margin_top = 517.45
margin_right = 319.959
margin_bottom = 583.45
text = "Water Settings"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="aquarium_settings_menu" type="Panel" parent="canvas/aquarium_settings_button"]
visible = false
margin_left = 182.321
margin_top = -317.411
margin_right = 438.321
margin_bottom = -82.4112
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ph" type="SpinBox" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 128.0
margin_top = 61.0
margin_right = 202.0
margin_bottom = 85.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="salinity" type="SpinBox" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 128.0
margin_top = 103.0
margin_right = 202.0
margin_bottom = 127.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="temperature" type="SpinBox" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 129.0
margin_top = 143.0
margin_right = 203.0
margin_bottom = 167.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ph_label" type="Label" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 26.2204
margin_top = 67.4238
margin_right = 66.2204
margin_bottom = 81.4238
text = "ph"

[node name="salinity_label" type="Label" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 17.9797
margin_top = 104.882
margin_right = 63.9797
margin_bottom = 118.882
text = "salinity"

[node name="temperature_label" type="Label" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 12.7356
margin_top = 147.583
margin_right = 92.7356
margin_bottom = 161.583
text = "temperature"

[node name="button_ok" type="Button" parent="canvas/aquarium_settings_button/aquarium_settings_menu"]
margin_left = 91.0
margin_top = 187.0
margin_right = 127.0
margin_bottom = 207.0
text = "OK"

[node name="pause_button" type="Button" parent="canvas"]
margin_left = 16.0
margin_top = 523.0
margin_right = 138.0
margin_bottom = 575.0
text = "menu"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="pause_menu" type="Panel" parent="canvas/pause_button"]
pause_mode = 2
visible = false
margin_left = 134.715
margin_top = -421.751
margin_right = 821.715
margin_bottom = -13.7518
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="menu_title" type="Label" parent="canvas/pause_button/pause_menu"]
margin_left = 261.498
margin_top = 36.5334
margin_right = 422.498
margin_bottom = 71.5334
text = "Paused"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="button_resume" type="Button" parent="canvas/pause_button/pause_menu"]
margin_left = 110.0
margin_top = 93.405
margin_right = 560.0
margin_bottom = 143.405
text = "Resume Game"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="button_options" type="Button" parent="canvas/pause_button/pause_menu"]
margin_left = 110.0
margin_top = 184.595
margin_right = 560.0
margin_bottom = 234.595
text = "Options"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="button_quit" type="Button" parent="canvas/pause_button/pause_menu"]
margin_left = 110.0
margin_top = 281.477
margin_right = 560.0
margin_bottom = 331.477
text = "Exit Game"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="options_menu" type="Panel" parent="canvas/pause_button/pause_menu"]
visible = false
margin_right = 686.0
margin_bottom = 408.0
script = ExtResource( 7 )

[node name="menu_title" type="Label" parent="canvas/pause_button/pause_menu/options_menu"]
margin_left = 295.355
margin_top = 33.8284
margin_right = 398.355
margin_bottom = 62.8284
text = "Options"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="button_return" type="Button" parent="canvas/pause_button/pause_menu/options_menu"]
margin_left = 225.302
margin_top = 293.828
margin_right = 419.302
margin_bottom = 353.828
text = "Return to Main Menu"
__meta__ = {
"_edit_use_anchors_": false
}

[connection signal="pressed" from="canvas/aquarium_settings_button" to="canvas/aquarium_settings_button/aquarium_settings_menu" method="_on_aquarium_settings_button_pressed"]
[connection signal="pressed" from="canvas/aquarium_settings_button/aquarium_settings_menu/button_ok" to="canvas/aquarium_settings_button/aquarium_settings_menu" method="_on_button_ok_pressed"]
[connection signal="pressed" from="canvas/pause_button" to="canvas/pause_button/pause_menu" method="_on_pause_button_pressed"]
[connection signal="pressed" from="canvas/pause_button/pause_menu/button_resume" to="canvas/pause_button/pause_menu" method="_on_button_resume_pressed"]
[connection signal="pressed" from="canvas/pause_button/pause_menu/button_options" to="canvas/pause_button/pause_menu" method="_on_button_options_pressed"]
[connection signal="pressed" from="canvas/pause_button/pause_menu/button_quit" to="canvas/pause_button/pause_menu" method="_on_button_quit_pressed"]
[connection signal="pressed" from="canvas/pause_button/pause_menu/options_menu/button_return" to="canvas/pause_button/pause_menu/options_menu" method="_on_button_return_pressed"]
