Skip to content

Commit

Permalink
Merge pull request #4024 from KBVE/dev
Browse files Browse the repository at this point in the history
Preparing Alpha Branch
  • Loading branch information
h0lybyte authored Feb 20, 2025
2 parents 34d568d + 7b2c771 commit 8e7e580
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/gamejam/brackeys/13/scripts/spaceship.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8e7e580

Please sign in to comment.