Fronter/TurretMenu.tscn

232 lines
5.0 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://TurretMenu.gd" type="Script" id=1]
[ext_resource path="res://art/multiplayer_menu/back.png" type="Texture" id=2]
[ext_resource path="res://art/upgrade_menu/buyturrets.png" type="Texture" id=3]
[ext_resource path="res://art/multiplayer_menu/checkmark.png" type="Texture" id=4]
[ext_resource path="res://Turret.tscn" type="PackedScene" id=5]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="TurretMenu" type="Node"]
pause_mode = 2
script = ExtResource( 1 )
_sections_unfolded = [ "Pause" ]
[node name="ColorRect" type="ColorRect" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1026.0
margin_bottom = 605.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
color = Color( 0, 0, 0, 1 )
_sections_unfolded = [ "Visibility" ]
[node name="Back" type="Node2D" parent="." index="1"]
editor/display_folded = true
position = Vector2( 50, 240 )
scale = Vector2( 0.5, 0.5 )
z_index = 2
z_as_relative = false
_sections_unfolded = [ "Transform", "Z Index" ]
__meta__ = {
"_edit_group_": true
}
[node name="Icon" type="AnimatedSprite" parent="Back" index="0"]
position = Vector2( 190, 530 )
frames = SubResource( 1 )
animation = "default"
[node name="Button" type="Button" parent="Back" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 450.0
margin_right = 300.0
margin_bottom = 600.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
flat = true
align = 1
[node name="BuyTurret" type="Node2D" parent="." index="2"]
editor/display_folded = true
visible = false
position = Vector2( 190, 140 )
scale = Vector2( 0.25, 0.25 )
z_index = 2
_sections_unfolded = [ "Transform", "Z Index" ]
__meta__ = {
"_edit_group_": true
}
[node name="Icon" type="AnimatedSprite" parent="BuyTurret" index="0"]
position = Vector2( 190, 530 )
frames = SubResource( 2 )
animation = "default"
[node name="Button" type="Button" parent="BuyTurret" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = -360.0
margin_top = 80.0
margin_right = 720.0
margin_bottom = 960.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
flat = true
align = 1
[node name="Accept" type="Node2D" parent="." index="3"]
editor/display_folded = true
visible = false
position = Vector2( 820, 240 )
scale = Vector2( 0.5, 0.5 )
_sections_unfolded = [ "Transform" ]
__meta__ = {
"_edit_group_": true
}
[node name="Icon" type="AnimatedSprite" parent="Accept" index="0"]
position = Vector2( 190, 530 )
frames = SubResource( 3 )
animation = "default"
[node name="Button" type="Button" parent="Accept" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 96.0
margin_top = 412.0
margin_right = 296.0
margin_bottom = 612.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
flat = true
align = 1
[node name="Turret" parent="." index="4" instance=ExtResource( 5 )]
visible = false
position = Vector2( 550, 300 )
scale = Vector2( 0.25, 0.25 )
[node name="Upgrade" type="Node2D" parent="." index="5"]
visible = false
position = Vector2( 0, 181 )
[node name="Button" type="Button" parent="Upgrade" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 430.0
margin_top = 50.0
margin_right = 640.0
margin_bottom = 200.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
text = "Upgrade"
flat = false
align = 1
[node name="Icon" type="AnimatedSprite" parent="Upgrade" index="1"]
animation = "default"
[connection signal="pressed" from="Back/Button" to="." method="backButton"]
[connection signal="pressed" from="BuyTurret/Button" to="." method="buyTurret"]
[connection signal="pressed" from="Accept/Button" to="." method="acceptTurret"]
[connection signal="pressed" from="Upgrade/Button" to="." method="upgradeTurret"]