Mouse doesn't work in-game

● ARCHIVED · READ-ONLY
Started by microck 2 posts View original ↗
  1. Hello !
    Some of my players (not all players) can't use the mouse (click on screen does nothing :/).

    I use this simple script call in an event for enable the mouse:
    TouchInput.enable()

    // Show Cursor
    document.body.style.cursor = 'default'

    Just in case, this is the script I use for enabling / disabling the mouse
    Spoiler
    /* Mouse on/off

    for enable: TouchInput.enable()
    for disable: TouchInput.disable()*/

    var _TouchInput_initialize = TouchInput.initialize;
    TouchInput.initialize = function() {
    _TouchInput_initialize.call(this);
    this._touchEnabled = true;
    }

    var _TouchInput_update = TouchInput.update;
    TouchInput.update = function() {
    if (this._touchEnabled)
    _TouchInput_update.call(this);
    }

    TouchInput.enable = function() {
    this._touchEnabled = true;
    }

    TouchInput.disable = function() {
    this._touchEnabled = false;
    TouchInput.clear();
    }
    Why some players can't use the mouse while other players can ? Is it a known issue with MV ?
  2. Moving this to Plugin support.