Sound & collision fix, wall render 2
This commit is contained in:
@@ -101,9 +101,12 @@ export default {
|
||||
}
|
||||
|
||||
if (player.state === 'DEAD') this.context.globalAlpha = 0.1
|
||||
render.walls(this.context, this.canvas, this.camera, this.settings, player)
|
||||
|
||||
render.wallsBezier(this.context, this.canvas, this.camera, this.settings, player)
|
||||
|
||||
if (player.name === 'e' || player.name === 'q' || player.name === 'r' || player.name === 't') render.playerFace(this.context, this.canvas, this.camera, this.settings, player, player.name)
|
||||
else render.player(this.context, this.canvas, this.camera, this.settings, player)
|
||||
|
||||
if (player.state === 'DEAD') this.context.globalAlpha = 1
|
||||
|
||||
this.stats.totalWalls += player.walls.length
|
||||
|
||||
Reference in New Issue
Block a user