git://code.worthe-it.co.za
/
interactive-pacbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c848fb
)
Swapped player A and B controls to better match side of screen
author
Justin Worthe
<justin.worthe@gmail.com>
Mon, 8 Sep 2014 11:34:51 +0000
(13:34 +0200)
committer
Justin Worthe
<justin.worthe@gmail.com>
Mon, 8 Sep 2014 11:34:51 +0000
(13:34 +0200)
game/states/play.js
patch
|
blob
|
history
diff --git
a/game/states/play.js
b/game/states/play.js
index
cf4bf62
..
9c5a91c
100644
(file)
--- a/
game/states/play.js
+++ b/
game/states/play.js
@@
-228,14
+228,14
@@
Play.prototype = {
},
setupPlayerControls: function() {
- this.player
A
Controls = {
+ this.player
B
Controls = {
up: Phaser.Keyboard.W,
left: Phaser.Keyboard.A,
down: Phaser.Keyboard.S,
right: Phaser.Keyboard.D,
poison: Phaser.Keyboard.Q
};
- this.player
B
Controls = {
+ this.player
A
Controls = {
up: Phaser.Keyboard.UP,
left: Phaser.Keyboard.LEFT,
down: Phaser.Keyboard.DOWN,