@ -108,8 +108,8 @@ var joystick_axes = {
});
joystick.on('move', function(evt, data) {
joystick_axes.x1 = data.vector.x;
joystick_axes.y2 = -data.vector.y;
joystick_axes.x2 = data.vector.x;
joystick_axes.y1 = -data.vector.y;
joystick_axes.moved = true;
joystick.on('end', function(evt, data) {
@ -46,6 +46,7 @@
z-index: 1;
top: 20px;
right: 50px
text-align: right;
}
.stats-box {
display: none;