diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2014-09-08 13:34:51 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2014-09-08 13:34:51 +0200 |
commit | 173496542aa8ba9f6edd89c1cad775f45d306bdd (patch) | |
tree | 60b54a65f915bb52ed5776d980277468d343a5d7 | |
parent | 5c848fb46d930241a61feb60fc41b5bb5551d32e (diff) |
Swapped player A and B controls to better match side of screen
-rw-r--r-- | game/states/play.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/states/play.js b/game/states/play.js index cf4bf62..9c5a91c 100644 --- a/game/states/play.js +++ b/game/states/play.js @@ -228,14 +228,14 @@ Play.prototype = { }, setupPlayerControls: function() { - this.playerAControls = { + this.playerBControls = { up: Phaser.Keyboard.W, left: Phaser.Keyboard.A, down: Phaser.Keyboard.S, right: Phaser.Keyboard.D, poison: Phaser.Keyboard.Q }; - this.playerBControls = { + this.playerAControls = { up: Phaser.Keyboard.UP, left: Phaser.Keyboard.LEFT, down: Phaser.Keyboard.DOWN, |