Fixing dumb mistake
This commit is contained in:
parent
0c29207da8
commit
35bf2809df
4
Laser.gd
4
Laser.gd
|
@ -27,10 +27,6 @@ var plasma = false
|
||||||
var current_pen = 0
|
var current_pen = 0
|
||||||
var friendly_laser = true
|
var friendly_laser = true
|
||||||
|
|
||||||
func _on_Visibility_screen_exited():
|
|
||||||
prints("byebye laser boi")
|
|
||||||
queue_free()
|
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
$AnimatedSprite.play()
|
$AnimatedSprite.play()
|
||||||
connect("area_entered", self, "hit")
|
connect("area_entered", self, "hit")
|
||||||
|
|
|
@ -19,7 +19,7 @@ animations = [ {
|
||||||
"speed": 20.0
|
"speed": 20.0
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
[node name="Laser" type="Area2D" index="0"]
|
[node name="Laser" type="Area2D"]
|
||||||
|
|
||||||
input_pickable = true
|
input_pickable = true
|
||||||
gravity_vec = Vector2( 0, 1 )
|
gravity_vec = Vector2( 0, 1 )
|
||||||
|
|
2
Main.gd
2
Main.gd
|
@ -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 == 15: # 75 default
|
if total_bads_spawned == 75:
|
||||||
if get_tree().is_network_server():
|
if get_tree().is_network_server():
|
||||||
rpc("bossMode")
|
rpc("bossMode")
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -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 = 10000
|
const STARTING_MONEY = 100
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ custom_solver_bias = 0.0
|
||||||
radius = 12.8998
|
radius = 12.8998
|
||||||
height = 40.4125
|
height = 40.4125
|
||||||
|
|
||||||
[node name="Player" type="Area2D"]
|
[node name="Player" type="Area2D" index="0"]
|
||||||
|
|
||||||
input_pickable = true
|
input_pickable = true
|
||||||
gravity_point = true
|
gravity_point = true
|
||||||
|
|
Loading…
Reference in New Issue