@ -98,9 +98,14 @@ if (haveEvents) {
var joystick = nipplejs.create({
zone: document.getElementById('controls'),
mode: 'static',
//catchDistance: 150,
position: {left: '50%', top: '50%'},
color: 'blue'
});
joystick.on('move', function(evt, data) {
console.log(data);
/*
setInterval(function(){
if (joystick) {