found another solution that works better than the previous, it's just a script to ad on the index.html file before the body tag closing and you're good to goFor anyone playing it with joiplay and having trouble with the map, there's a "work around" for it, it's kinda boring and annoying but it works, you just have to use the joiplay cheat button and use the teleport section to go anywhere you want
<script>
document.addEventListener('touchstart', function(event) {
var mouseEvent = new MouseEvent('mousedown', {
view: window,
bubbles: true,
cancelable: true,
clientX: event.touches[0].clientX,
clientY: event.touches[0].clientY
});
event.target.dispatchEvent(mouseEvent);
});
document.addEventListener('touchend', function(event) {
var mouseEvent = new MouseEvent('mouseup', {
view: window,
bubbles: true,
cancelable: true,
clientX: event.changedTouches[0].clientX,
clientY: event.changedTouches[0].clientY
});
event.target.dispatchEvent(mouseEvent);
});
document.addEventListener('touchmove', function(event) {
var mouseEvent = new MouseEvent('mousemove', {
view: window,
bubbles: true,
cancelable: true,
clientX: event.touches[0].clientX,
clientY: event.touches[0].clientY
});
event.target.dispatchEvent(mouseEvent);
});
</script>