Resetting some debug balances and re-enabling menu music

This commit is contained in:
Sage Vaillancourt 2018-05-29 02:52:23 -04:00
parent 83c856d277
commit 0c29207da8
6 changed files with 15 additions and 10 deletions

View File

@ -5,10 +5,13 @@
[ext_resource path="res://Player.tscn" type="PackedScene" id=3] [ext_resource path="res://Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://Mothership.tscn" type="PackedScene" id=4] [ext_resource path="res://Mothership.tscn" type="PackedScene" id=4]
[node name="Level1" type="Node" index="0"] [node name="Level1" type="Node"]
script = ExtResource( 1 ) script = ExtResource( 1 )
FirstBad = ExtResource( 2 ) FirstBad = ExtResource( 2 )
BlobBad = null
LaserBad = null
RectangleBoss = null
[node name="Player" parent="." index="0" instance=ExtResource( 3 )] [node name="Player" parent="." index="0" instance=ExtResource( 3 )]

View File

@ -124,7 +124,7 @@ var sendblob = 1
var bad_health_multi = 1 var bad_health_multi = 1
var total_bads_spawned = 0 var total_bads_spawned = 0
func BaddieTimer(): func BaddieTimer():
if total_bads_spawned == 75: if total_bads_spawned == 15: # 75 default
if get_tree().is_network_server(): if get_tree().is_network_server():
rpc("bossMode") rpc("bossMode")
else: else:

View File

@ -28,7 +28,7 @@ animations = [ {
"speed": 5.0 "speed": 5.0
} ] } ]
[node name="Main" type="Node" index="0"] [node name="Main" type="Node"]
script = ExtResource( 1 ) script = ExtResource( 1 )
_sections_unfolded = [ "Pause" ] _sections_unfolded = [ "Pause" ]
@ -105,7 +105,7 @@ anchor_top = 0.0
anchor_right = 0.0 anchor_right = 0.0
anchor_bottom = 0.0 anchor_bottom = 0.0
margin_left = 785.0 margin_left = 785.0
margin_top = 125.0 margin_top = 269.0
margin_right = 1022.0 margin_right = 1022.0
margin_bottom = 599.0 margin_bottom = 599.0
rect_pivot_offset = Vector2( 0, 0 ) rect_pivot_offset = Vector2( 0, 0 )
@ -188,10 +188,10 @@ _sections_unfolded = [ "Visibility" ]
[connection signal="other_shooting_upgrade" from="Player" to="." method="other_shooting_upgrade"] [connection signal="other_shooting_upgrade" from="Player" to="." method="other_shooting_upgrade"]
[connection signal="restart_game" from="Player" to="." method="_on_Player_restart_game"]
[connection signal="restart_game" from="Player" to="Mothership" method="_on_Player_restart_game"] [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="update_display" from="Player" to="." method="_on_Player_update_display"] [connection signal="update_display" from="Player" to="." method="_on_Player_update_display"]
[connection signal="timeout" from="BaddieTimer" to="." method="BaddieTimer"] [connection signal="timeout" from="BaddieTimer" to="." method="BaddieTimer"]

View File

@ -31,7 +31,7 @@ var now_quitting = false
var rectangle_opacity = 0 var rectangle_opacity = 0
func _ready(): func _ready():
#$Music.play() $Music.play()
pass pass
func _process(delta): func _process(delta):

View File

@ -59,7 +59,7 @@ const BULLET_DELAY_TIER4_COST = 400
const BULLET_DELAY_TIER5_COST = 1000 const BULLET_DELAY_TIER5_COST = 1000
# double laser cost # double laser cost
const DOUBLE_LASER_COST = 20 const DOUBLE_LASER_COST = 2000
# the 5 tiers of ship speed # the 5 tiers of ship speed
const SHIP_SPEED_TIER1 = 150 const SHIP_SPEED_TIER1 = 150
@ -78,7 +78,7 @@ const SHIP_SPEED_TIER5_COST = 800
const STARTING_POSITION = Vector2(100, 250) const STARTING_POSITION = Vector2(100, 250)
# the amount of money the player starts with # the amount of money the player starts with
const STARTING_MONEY = 100 const STARTING_MONEY = 10000
################################# #################################
@ -244,7 +244,7 @@ func upgradeShipSpeed():
prints(ship_speed) prints(ship_speed)
func doubleLaserUpgrade(): func doubleLaserUpgrade():
if money >= DOUBLE_LASER_COST: if money >= DOUBLE_LASER_COST && double_laser == false:
money -= DOUBLE_LASER_COST money -= DOUBLE_LASER_COST
double_laser = true double_laser = true
rpc("double_laser_upgrade", get_tree().get_network_unique_id()) rpc("double_laser_upgrade", get_tree().get_network_unique_id())

2
TODO
View File

@ -2,4 +2,6 @@
* A way of increasing difficulty without it suddenly becoming impossible * A way of increasing difficulty without it suddenly becoming impossible
* Mothership art * Mothership art
* A story mode? * A story mode?
* The main menu stars could do something silly and fun, like change colors,
maybe taking the menu colors with them.
* etc., etc. * etc., etc.