Hi!
I want to activate events depending on where my mouse cursor is.
Mouse System Ex can already kind of do what I want.
https://forums.rpgmakerweb.com/index.php?threads/mouse-system-ex.46511/
It would only need 1 slight adjustment.
At the moment, it is possible to put "hover_activate!" or "leave_activate!" into the events comment to make it... well activate on hover or leaving - if this area of "hovering" or "leaving " could somehow be defined instead of just always being the event. ( 48 x 48 pixels )
Alternatively, I could also just deal with it by being able to save the mouse cursor location into plain old variables of RM MV, to my knowledge I can only save the location of
where actual button clicks appear though and not just the "hovering" position.
What am I actually trying to achieve?
Because my game will be 90% mouse controlled, I want to have just a "menu bar"
instead of a full out menu.
When hovering on the top of the screen, it should show a small bar with 7 different
pictures, each representing a menu point (Item, Equip, Status and so on...).
Now I want to make it, that when hovering over one of the "Menu Point Pictures"
it will slide down a bit (highlighting it) and display the corresponding name below,
for example "Items", then when the picture is actually clicked- the usual Item Scene gets called. Same for Quests, Equipment, Status Distribution, Skill Menu etc.
I would be able to completely "programme" this myself with events if there was some way I could detect hovering, by one of the methods described above!
TLDR;
I need someone to tweak the Mouse System EX - so I can define the area which the mouse is hovering or leaving to activate the event instead of the area being defined automatically as the event itself. For example: activate when hovering in the region 700 to 750 X and 400 to 430 Y (instead of when hovering over the event.)
Cheers 🙂!
EDIT:
I am actually pretty dumb.
When using Mouse System EX you can just use the usual TouchInput._x &
TouchInput._y and it will work for hovering instead.
I guess this is solved... (damn, I feel so dumb.)
I want to activate events depending on where my mouse cursor is.
Mouse System Ex can already kind of do what I want.
https://forums.rpgmakerweb.com/index.php?threads/mouse-system-ex.46511/
It would only need 1 slight adjustment.
At the moment, it is possible to put "hover_activate!" or "leave_activate!" into the events comment to make it... well activate on hover or leaving - if this area of "hovering" or "leaving " could somehow be defined instead of just always being the event. ( 48 x 48 pixels )
Alternatively, I could also just deal with it by being able to save the mouse cursor location into plain old variables of RM MV, to my knowledge I can only save the location of
where actual button clicks appear though and not just the "hovering" position.
What am I actually trying to achieve?
Because my game will be 90% mouse controlled, I want to have just a "menu bar"
instead of a full out menu.
When hovering on the top of the screen, it should show a small bar with 7 different
pictures, each representing a menu point (Item, Equip, Status and so on...).
Now I want to make it, that when hovering over one of the "Menu Point Pictures"
it will slide down a bit (highlighting it) and display the corresponding name below,
for example "Items", then when the picture is actually clicked- the usual Item Scene gets called. Same for Quests, Equipment, Status Distribution, Skill Menu etc.
I would be able to completely "programme" this myself with events if there was some way I could detect hovering, by one of the methods described above!
TLDR;
I need someone to tweak the Mouse System EX - so I can define the area which the mouse is hovering or leaving to activate the event instead of the area being defined automatically as the event itself. For example: activate when hovering in the region 700 to 750 X and 400 to 430 Y (instead of when hovering over the event.)
Cheers 🙂!
EDIT:
I am actually pretty dumb.
When using Mouse System EX you can just use the usual TouchInput._x &
TouchInput._y and it will work for hovering instead.
I guess this is solved... (damn, I feel so dumb.)