diff --git a/internals/game.go b/internals/game.go index d52b7d3..1baad2a 100644 --- a/internals/game.go +++ b/internals/game.go @@ -68,6 +68,7 @@ func (g *Game) Update() error { } g.Space.scrollSpace() g.Player.move() + fmt.Println("hello") // clamp player if goes out of bounds g.Player.clamp_player(g.WindowW, g.WindowH) diff --git a/internals/player.go b/internals/player.go index 2c9e3e5..7ec7337 100644 --- a/internals/player.go +++ b/internals/player.go @@ -70,6 +70,7 @@ func (p *Player) shoot(){ } } p.RightLaser = rightfiltered + //fmt.Println() } func (p *Player) generateLaser(){