MV Having a problem with Mouse System EX.

The archived link for the plugin.

Hello!

I have been working on my title screen using events that are activated when you hover your mouse over them, and functions much like any other "new game, load game, options, and quit" buttons when you click on them.

Hovering on them changes the image of the event from a normal text to a highlighted one.

They all work, but I encountered a huge problem.

A lot of times when you hover your mouse over the buttons fast enough, they will somehow lock? and you cannot activate anything anymore.

I would also note that sometimes, not always, even one hover on an event would trigger the bug. You don't have to hover super fast or anything, it just disables everything and all you can do is close the game via Alt+f4.

Link to a video showing the said problem.

I am open to other solutions, such as paying for another plugin that has the same functions or commissioning someone to do so.

You can also reach me on discord for commissions.
Reverie#3005

Thank you.
My plugin list, just in case.
I'm not sure about the notetag part to be "true" as it doesn't go off?
if its from hovering on and off which could lock you out?

I personally setup the thing differently if you want image based and click able.
using conditional branches (which also allow arrow keys), but hover with the
parts of mous.x and mouse.y to take the rectangle from it.

but why it locks you out, might be the notetag you added for hover true.
which doesn't update that fast enough.

as I didn't use that way before on testing stuff.
I'm not sure about the notetag part to be "true" as it doesn't go off?
if its from hovering on and off which could lock you out?

I personally setup the thing differently if you want image based and click able.
using conditional branches (which also allow arrow keys), but hover with the
parts of mous.x and mouse.y to take the rectangle from it.

but why it locks you out, might be the notetag you added for hover true.
which doesn't update that fast enough.

as I didn't use that way before on testing stuff.
Thanks for the response!

I am not familiar on the update times when you activate events, so maybe you are correct. Although that gives me a problem, I don’t know how to do it using the comments instead of the note because I tried with comments and it doesn’t seem to work for me.

The most important part for me is when you hover on the event, it shows the player “oh it’s a button” by making the letters be highlighted or embossed. And then of course the clickable part.

If you have a solution for this please let me know how you did it.
the update is more inside the plugin, but if they use it normally, it should work,
what if they use the arrow keys? will those work too or just the mouse?

the reason for a conditional branch is that it works slightly better, and I dont
know if the hover switch can be as a comment, as the notetag counts for ALL pages.
comments only on the current page.

as it might work, I cannot tell where you could improve it, as I didn't use the way
you did, never test that.

I would recommend to set things up through "condition branches"
when pressed "down" and or mouse.x and mouse.y is inside the rectangle.
the process of those works smoother if done correctly and wouldn't lock you
out so far I know it.

the reason it might lock you out is maybe the pages of the events processing them,
and using the image as event page, rather do it all with "show picture".

but if you warn them not to go crazy on the menu, it should work normally.
and I like the setup you made.
the update is more inside the plugin, but if they use it normally, it should work,
what if they use the arrow keys? will those work too or just the mouse?

the reason for a conditional branch is that it works slightly better, and I dont
know if the hover switch can be as a comment, as the notetag counts for ALL pages.
comments only on the current page.

as it might work, I cannot tell where you could improve it, as I didn't use the way
you did, never test that.

I would recommend to set things up through "condition branches"
when pressed "down" and or mouse.x and mouse.y is inside the rectangle.
the process of those works smoother if done correctly and wouldn't lock you
out so far I know it.

the reason it might lock you out is maybe the pages of the events processing them,
and using the image as event page, rather do it all with "show picture".

but if you warn them not to go crazy on the menu, it should work normally.
and I like the setup you made.

Yes the note can be used in the comments.
I did try this but I cannot replicate the effects I have at the moment.

Can you give me an example on the conditional one? I’m not familiar on how to use the mouse.x mouse.y inside the eventbox(rectangle).

This sounds like what the plugin do but in script form?

Also, thank you! I am new and I am sad that I didn’t have this problem earlier. Maybe I’m pushing the engine too much? I’m not sure..

Edit: I want the game to be mouse only.
you can set 2 variables on top:

var 1 = mouseX
var 2 = mouseY

those 2 require the correct scriptcall to get the mouse coordinates.

than in a conditional branch:

if: var 1 => 100 && var 1 <= 300
if var 2 => 110 && var 2 <= 140
hover on (can use click when clicked on it to transfer
else
hover off (normal picture)
end
end

while the entire code goes into 1 event instead of multiple event,
it process it more correctly than having multiple, there should be
some tutorial on how to do this as well, some are there, but images
are broken, but that is how you use the x and y, you might be able to set
the x and y also on 1 line, but never tested that way.

if you want to include arrow, check my evented menu, it doesn't have the
mouse X and Y, but that is seperated or can be included, but it has the
basic how it works, which can be used as title scene, the process is almost
indentical, just input.isTriggered to mouse click, but I need to search how
to detect that part though.
you can set 2 variables on top:

var 1 = mouseX
var 2 = mouseY

those 2 require the correct scriptcall to get the mouse coordinates.

than in a conditional branch:

if: var 1 => 100 && var 1 <= 300
if var 2 => 110 && var 2 <= 140
hover on (can use click when clicked on it to transfer
else
hover off (normal picture)
end
end

while the entire code goes into 1 event instead of multiple event,
it process it more correctly than having multiple, there should be
some tutorial on how to do this as well, some are there, but images
are broken, but that is how you use the x and y, you might be able to set
the x and y also on 1 line, but never tested that way.

if you want to include arrow, check my evented menu, it doesn't have the
mouse X and Y, but that is seperated or can be included, but it has the
basic how it works, which can be used as title scene, the process is almost
indentical, just input.isTriggered to mouse click, but I need to search how
to detect that part though.

I will try these later and let you know how it goes!

Thank you again.
you can set 2 variables on top:

var 1 = mouseX
var 2 = mouseY

those 2 require the correct scriptcall to get the mouse coordinates.

than in a conditional branch:

if: var 1 => 100 && var 1 <= 300
if var 2 => 110 && var 2 <= 140
hover on (can use click when clicked on it to transfer
else
hover off (normal picture)
end
end

while the entire code goes into 1 event instead of multiple event,
it process it more correctly than having multiple, there should be
some tutorial on how to do this as well, some are there, but images
are broken, but that is how you use the x and y, you might be able to set
the x and y also on 1 line, but never tested that way.

if you want to include arrow, check my evented menu, it doesn't have the
mouse X and Y, but that is seperated or can be included, but it has the
basic how it works, which can be used as title scene, the process is almost
indentical, just input.isTriggered to mouse click, but I need to search how
to detect that part though.


I just want to update you on what happened after extensive testing on my side.

I figured out the cause of the problem. It was a plugin that defines the “wait” under very specific conditions.

I use it so even when my mouse is hovering, it would always stop the SE from looping over and over until I remove the mouse from the event.

I deleted that, and it doesn’t have any lag or anything anymore.

Now, how did I prevent the SE from repeating without using the WAIT event command?

It’s a very stupid solution that it’s super laughable tbh, I just edited the 1second SE, to have a minute of just dead silence after. So the 1sec SE became 1m and 1s SE file.

It will repeat.. after a minute of hovering on one single event, which is very unlikely unless you AFKed on that event for some reason, and even then, I don’t think 1sec SE every minute would bother the player.

Thank you again for your input and help.
sounds added shouldn't loop, because the reason it loop is because you
set it on parallel 🙂

parallel events run 60x a second. but there are ways to control those,
but if it works with the setting you have, keep it that way.

happy game making 🙂
sounds added shouldn't loop, because the reason it loop is because you
set it on parallel 🙂

parallel events run 60x a second. but there are ways to control those,
but if it works with the setting you have, keep it that way.

happy game making 🙂

At the moment it works the way it's supposed to, I don't want to touch it further and break it again.

I WILL DEAL WITH IT IF IT BREAKS IN THE FUTURE. :kaosalute:

This can be closed. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/having-a-problem-with-mouse-system-ex.157271/