diff --git a/apps/gamejam/brackeys/13/scripts/spaceship.gd b/apps/gamejam/brackeys/13/scripts/spaceship.gd index d5d7a64db..372bf9aa7 100644 --- a/apps/gamejam/brackeys/13/scripts/spaceship.gd +++ b/apps/gamejam/brackeys/13/scripts/spaceship.gd @@ -6,6 +6,9 @@ signal laser_shot(laser) var laser_scene = preload("res://scenes/laser.tscn") +func _ready(): + position = get_viewport_rect().size / 2 + func _process(delta): if Input.is_action_pressed("shoot"): shoot_laser()