Quet

Villager
Member
Joined
Nov 1, 2015
Messages
21
Reaction score
5
First Language
español
Hello

Is there a way to change the mouse behavior when using the mouse? Whenever I try to use the mouse on menus it's always Highlight > Select. It's kind of awkward and feels weird. Normally I would expect a single click to select the option, but it highlights instead, forcing to do double clicks. Is there a way to change the click behavior so only one click selects directly and skiping the highlight? (Or maybe only hovering the mouse making the highlight)

Sorry if my english is weird, is not my native language.

Thanks!
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,210
Reaction score
3,463
First Language
Dutch
Primarily Uses
RMMV
there was a plugin that a mouse select the choice and single click after that,
but I cannot seem to find it.

I see if I can find it though as it does what you need.

edit: here is the link that should fix your issue.
 

Quet

Villager
Member
Joined
Nov 1, 2015
Messages
21
Reaction score
5
First Language
español
there was a plugin that a mouse select the choice and single click after that,
but I cannot seem to find it.

I see if I can find it though as it does what you need.

edit: here is the link that should fix your issue.
Unfortunately it doesn't seem to work. I tried it with in an empty project with no plugins to discard any conflict and it does nothing. I asume the plugin is outdated or no longer compatible with the new versions of the RPGmaker MV
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,210
Reaction score
3,463
First Language
Dutch
Primarily Uses
RMMV
what version of MV do you use? or does the console print
anything out?

else you need to add a line in the plugin or replace this section:

JavaScript:
        const measureEntry = function(curr, localCoord, entryParameter){
            return localCoord > curr.padding && localCoord <= entryParameter - curr.padding;
            console.log(localCoord);
            console.log(curr.padding);
        }
        const checkX = function(curr){
            return measureEntry(curr, curr.canvasToLocalX(TouchInput.x), curr.width);
            console.log(checkX());
            console.log(curr.canvasToLocalX);
        }
        const checkY = function(curr){
            return measureEntry(curr, curr.canvasToLocalY(TouchInput.y), curr.height);
            console.log(checkY());
            console.log(curr.canvasToLocalY);
        }

just to see if it print something. to ensure it is working correctly.

otherwise, I dont know why it doesn't work for you.
 

Quet

Villager
Member
Joined
Nov 1, 2015
Messages
21
Reaction score
5
First Language
español
what version of MV do you use? or does the console print
anything out?

else you need to add a line in the plugin or replace this section:

JavaScript:
        const measureEntry = function(curr, localCoord, entryParameter){
            return localCoord > curr.padding && localCoord <= entryParameter - curr.padding;
            console.log(localCoord);
            console.log(curr.padding);
        }
        const checkX = function(curr){
            return measureEntry(curr, curr.canvasToLocalX(TouchInput.x), curr.width);
            console.log(checkX());
            console.log(curr.canvasToLocalX);
        }
        const checkY = function(curr){
            return measureEntry(curr, curr.canvasToLocalY(TouchInput.y), curr.height);
            console.log(checkY());
            console.log(curr.canvasToLocalY);
        }

just to see if it print something. to ensure it is working correctly.

otherwise, I dont know why it doesn't work for you.

Thanks for replying, I'm unsure what you mean with "print". I'm using the 1.6.2 version, I replaced the code you shared and it still doesn't work. In my main project I use several plugins, mostly Yanfly plugins (I mention this so is known plugins function normally in my project), however, this plugin didn't work there, and to discard any compatibility issues I just tried it with a project with no plugins activated except this one and it still doens't work.
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,210
Reaction score
3,463
First Language
Dutch
Primarily Uses
RMMV
with printing is to see if it show something in the console (F8 or F12),
it should print a log on the tab "console" and show the values.

I double check to see what's going on though.

Edit:
it seems to work on 0.29 nwjs, but it doesn't work after updating nwjs,
which I have in 0.48.4 as test.

so something broke it in the nwjs somewhere.
did you update the nwjs and/or pixi.js?
 
Last edited:

eomereolsson

Regular
Regular
Joined
Sep 29, 2021
Messages
582
Reaction score
508
First Language
German
Primarily Uses
RMMV
I tested the plugin out quickly yesterday and it didn't work for me either. I did not manually upgrade nwjs or pixi. According to the output of process.versions I am running version 0.29.4.
 

Quet

Villager
Member
Joined
Nov 1, 2015
Messages
21
Reaction score
5
First Language
español
with printing is to see if it show something in the console (F8 or F12),
it should print a log on the tab "console" and show the values.

I double check to see what's going on though.

Edit:
it seems to work on 0.29 nwjs, but it doesn't work after updating nwjs,
which I have in 0.48.4 as test.

so something broke it in the nwjs somewhere.
did you update the nwjs and/or pixi.js?
I wasn't familiar with those terms until I searched. I'm using the Steam version so I just let the software update itself, I don't update anything manually. I'm not sure how to use the console to check the version I'm using.

EDIT: Ok I think I managed to see the version. It says 0.29.4.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

TSR
Capture d’écran, le 2023-12-03 à 13.24.07.png
No screen shots from my main project today. I've been spending all my game dev time of that jam entry...
Have a Ho Ho Ho week! :cutesmile:
Have you found your favourite plant combination yet?
1701625459444.png
Me with the fireplace, a space heater, and a heated blanket. My preferred lizard temperature.

I'm gonna riff on Macross's "Deculture" and adopt "Descope" as my motto! :wub God knows I'm gonna need it...

As an aside, did any of ya sweeties watch Macross Delta and if so, was it good, bad, or horrible?
Is an extension for the jam time limit from 20 min to 30 min possible? :ysad::ysad::ysad: My entry will have a few battles, it seems >.<

Forum statistics

Threads
136,718
Messages
1,269,063
Members
180,434
Latest member
Cheesymud
Top