Fronter/Main.tscn

283 lines
7.9 KiB
Plaintext

[gd_scene load_steps=22 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://Bad1.tscn" type="PackedScene" id=2]
[ext_resource path="res://Bloob.tscn" type="PackedScene" id=3]
[ext_resource path="res://BadLaser.tscn" type="PackedScene" id=4]
[ext_resource path="res://Prison.tscn" type="PackedScene" id=5]
[ext_resource path="res://RectangleBoss.tscn" type="PackedScene" id=6]
[ext_resource path="res://RectangleReturn.tscn" type="PackedScene" id=7]
[ext_resource path="res://BlackHole.tscn" type="PackedScene" id=8]
[ext_resource path="res://BG.tscn" type="PackedScene" id=9]
[ext_resource path="res://Player.tscn" type="PackedScene" id=10]
[ext_resource path="res://Mothership.tscn" type="PackedScene" id=11]
[ext_resource path="res://art/hand-numbs.ttf" type="DynamicFontData" id=12]
[ext_resource path="res://OtherPlayer.tscn" type="PackedScene" id=13]
[ext_resource path="res://art/interface/pause.png" type="Texture" id=14]
[ext_resource path="res://art/interface/how_to.png" type="Texture" id=15]
[ext_resource path="res://art/interface/how_to_desktop.png" type="Texture" id=16]
[ext_resource path="res://main_bg.ogg" type="AudioStream" id=17]
[sub_resource type="DynamicFont" id=1]
size = 28
use_mipmaps = false
use_filter = false
font_data = ExtResource( 12 )
_sections_unfolded = [ "Font", "Settings" ]
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 14 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 15 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=4]
animations = [ {
"frames": [ ExtResource( 16 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Main" type="Node"]
script = ExtResource( 1 )
_sections_unfolded = [ "Pause" ]
FirstBad = ExtResource( 2 )
BlobBad = ExtResource( 3 )
LaserBad = ExtResource( 4 )
Prison = ExtResource( 5 )
RectangleBoss = ExtResource( 6 )
RectangleReturn = ExtResource( 7 )
BlackHole = ExtResource( 8 )
[node name="BG" parent="." index="0" instance=ExtResource( 9 )]
[node name="Player" parent="." index="1" instance=ExtResource( 10 )]
[node name="Mothership" parent="." index="2" instance=ExtResource( 11 )]
position = Vector2( 18.327, 304.835 )
[node name="MoneyDisplay" type="Label" parent="." index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 913.0
margin_top = 557.0
margin_right = 1006.0
margin_bottom = 592.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
custom_fonts/font = SubResource( 1 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "$0"
align = 2
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "Size Flags", "custom_colors", "custom_fonts" ]
[node name="OtherPlayer" parent="." index="4" instance=ExtResource( 13 )]
visible = false
_sections_unfolded = [ "Material", "Transform", "Visibility" ]
[node name="BossHealth" type="Line2D" parent="." index="5"]
points = PoolVector2Array( 100, 50, 900, 50 )
width = 15.0
default_color = Color( 1, 0, 0, 0 )
texture_mode = 31
sharp_limit = 2.0
round_precision = 8
[node name="ColorRect" type="ColorRect" parent="." index="6"]
visible = false
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1026.0
margin_bottom = 601.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="Pausing" type="Node2D" parent="." index="7"]
editor/display_folded = true
position = Vector2( 940, 36 )
[node name="Pause" type="AnimatedSprite" parent="Pausing" index="0"]
position = Vector2( 32.128, 31.044 )
scale = Vector2( 0.199771, 0.199771 )
frames = SubResource( 2 )
animation = "default"
[node name="PauseButton" type="Button" parent="Pausing" index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 61.0
margin_bottom = 64.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="HowTos" type="Node2D" parent="." index="8"]
editor/display_folded = true
_sections_unfolded = [ "Visibility", "Z Index" ]
[node name="HowTo" type="AnimatedSprite" parent="HowTos" index="0"]
visible = false
position = Vector2( 482.397, 299.674 )
scale = Vector2( 0.42077, 0.42077 )
frames = SubResource( 3 )
animation = "default"
_sections_unfolded = [ "Transform", "Visibility" ]
[node name="HowToDesktop" type="AnimatedSprite" parent="HowTos" index="1"]
visible = false
position = Vector2( 482, 300 )
scale = Vector2( 0.42, 0.42 )
frames = SubResource( 4 )
animation = "default"
_sections_unfolded = [ "Transform", "Visibility" ]
[node name="HideHowTo" type="Button" parent="HowTos" index="2"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = -55.0
margin_top = -29.0
margin_right = 1039.0
margin_bottom = 609.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
action_mode = 0
enabled_focus_mode = 2
shortcut = null
group = null
flat = true
align = 1
_sections_unfolded = [ "Visibility" ]
[node name="WaveLabel" type="Label" parent="." index="9"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 61.0
margin_top = 19.0
margin_right = 108.0
margin_bottom = 33.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "Wave 1"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Music" type="AudioStreamPlayer" parent="." index="10"]
stream = ExtResource( 17 )
volume_db = 0.0
pitch_scale = 1.0
autoplay = false
mix_target = 0
bus = "Master"
[connection signal="body_entered" from="Player" to="Player" method="_on_Player_body_entered"]
[connection signal="buy_turret" from="Player" to="." method="_on_Player_buy_turret"]
[connection signal="double_laser_upgrade" from="Player" to="." method="double_laser_upgrade"]
[connection signal="multiplayer_movement" from="Player" to="." method="_on_Player_multiplayer_movement"]
[connection signal="other_damage_upgrade" from="Player" to="." method="other_damage_upgrade"]
[connection signal="other_laser_penetration_upgrade" from="Player" to="." method="other_laser_penetration_upgrade"]
[connection signal="other_ship_color_change" from="Player" to="." method="other_ship_color_change"]
[connection signal="other_ship_enable_rainbow" from="Player" to="." method="_on_Player_other_ship_enable_rainbow"]
[connection signal="other_shooting_upgrade" from="Player" to="." method="other_shooting_upgrade"]
[connection signal="restart_game" from="Player" to="Mothership" method="_on_Player_restart_game"]
[connection signal="restart_game" from="Player" to="." method="_on_Player_restart_game"]
[connection signal="start_next_round" from="Player" to="." method="startNextRound"]
[connection signal="update_display" from="Player" to="." method="updatePoints"]
[connection signal="upgrade_turret_range" from="Player" to="." method="upgradeTurretRange"]
[connection signal="body_shape_entered" from="Mothership" to="Mothership" method="_on_Mothership_body_shape_entered"]
[connection signal="game_over" from="Mothership" to="." method="_on_Mothership_game_over"]
[connection signal="pressed" from="Pausing/PauseButton" to="." method="_on_PauseButton_pressed"]
[connection signal="pressed" from="HowTos/HideHowTo" to="." method="_on_HideHowTo_pressed"]