Added keys for angles, and changed from princess peach to princess

geraldine
This commit is contained in:
Thomas FORGIONE 2015-04-15 19:06:08 +02:00
parent ebee998282
commit deb976b97b
2 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -158,10 +158,10 @@ PointerCamera.prototype.onKeyEvent = function(event, toSet) {
// case 40: case 83: this.moveBackward = toSet; break; // down / s
// case 39: case 68: this.moveRight = toSet; break; // right / d
case 104: this.increasePhi = toSet; break; // 8 Up for angle
case 98: this.decreasePhi = toSet; break; // 2 Down for angle
case 100: this.increaseTheta = toSet; break; // 4 Left for angle
case 102: this.decreaseTheta = toSet; break; // 6 Right for angle
case 73: case 104: this.increasePhi = toSet; break; // 8 Up for angle
case 75: case 98: this.decreasePhi = toSet; break; // 2 Down for angle
case 74: case 100: this.increaseTheta = toSet; break; // 4 Left for angle
case 76: case 102: this.decreaseTheta = toSet; break; // 6 Right for angle
}
}