12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- [gd_scene load_steps=6 format=2]
- [ext_resource path="res://scripts/aquarium.py" 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.py" type="Script" id=4]
- [ext_resource path="res://music/Relax_at_the_Aquarium.ogg" type="AudioStream" id=5]
- [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 )
- [node name="fish1" parent="." instance=ExtResource( 3 )]
- position = Vector2( 308.51, 288.899 )
- [node name="fish2" parent="." instance=ExtResource( 3 )]
- position = Vector2( 794.484, 196.791 )
- [node name="pause_button" type="Button" parent="."]
- margin_left = 16.0
- margin_top = 523.0
- margin_right = 138.0
- margin_bottom = 575.0
- text = "menu"
- [node name="pause_menu" type="PopupMenu" parent="pause_button"]
- margin_top = -451.0
- margin_right = 904.0
- margin_bottom = 20.0
- script = ExtResource( 4 )
- [node name="menu_title" type="Label" parent="pause_button/pause_menu"]
- margin_left = 164.0
- margin_top = 32.0
- margin_right = 732.0
- margin_bottom = 102.0
- text = "Paused"
- align = 1
- valign = 1
- [node name="button_resume" type="Button" parent="pause_button/pause_menu"]
- margin_left = 239.0
- margin_top = 104.0
- margin_right = 716.0
- margin_bottom = 158.0
- [node name="button_options" type="Button" parent="pause_button/pause_menu"]
- margin_left = 234.0
- margin_top = 207.0
- margin_right = 728.0
- margin_bottom = 286.0
- [node name="button_quit" type="Button" parent="pause_button/pause_menu"]
- margin_left = 252.0
- margin_top = 349.0
- margin_right = 743.0
- margin_bottom = 432.0
- [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
- stream = ExtResource( 5 )
- autoplay = true
- [connection signal="pressed" from="pause_button" to="pause_button/pause_menu" method="_on_pause_button_pressed"]
- [connection signal="pressed" from="pause_button/pause_menu/button_resume" to="pause_button/pause_menu" method="_on_button_resume_pressed"]
- [connection signal="pressed" from="pause_button/pause_menu/button_quit" to="pause_button/pause_menu" method="_on_button_quit_pressed"]
|