Is it possible to disabled cursor in almost every map of the game, except one or some little, which is cursor only (no button)? For now, I planned to my game have some fake OS simulation and websites. I don't really like when the fake OS simulation in RPGM games I played before using up down button to move the fake cursors, but at the same time the other gameplay inside need cursor to be disabled.
MV Disable/Enable cursor only for different map
RPG Maker MV Supportits doable, I have a plugin to enable it on certain scenes only.
so for maps, I can modify it differently for you and use the map notetag
to allow for showing the mouse if desired else it will be gone.
if you use battle, do you want them gone here too?
so for maps, I can modify it differently for you and use the map notetag
to allow for showing the mouse if desired else it will be gone.
if you use battle, do you want them gone here too?
Are you referring to the flashing white square animation that pops up to tell the player where he's going to on the map, or the real mouse cursor?
I think the main mouse you use, but from what I see, if its event based, than
the easiest would be hide mouse when switch is ON so this can work?
JavaScript:
document.body.style.cursor = $gameSwitches.value(3) ? "none" : "auto";
this may crash as $gameSwitches doesn't really directly exist on game boot.
so probably
JavaScript:
document.body.style.cursor = ($gameSwitches && $gameSwitches.value(3)) ? "none" : "auto";
for the saver way as one liner?
I actually meant mouse cursor click being un/available, I'd like to think the mouse cursor appearance itself just bonus when mouse click is unavailable.
Does the mouse click is still available when its hidden?
if its hidden, mouse click is disabled as well.
Original thread: https://forums.rpgmakerweb.com/threads/disable-enable-cursor-only-for-different-map.182610/