Smart Map Buttons (Customizable Map Scene interface)
JS Plugin Releases (RMMV)No worries, I'm sure my Japanese would be much worse. 🙂
SceneManager._scene.isPressed('up'); is true if the Up Map Control is currently pressed.
SceneManager._scene.isButtonEnabled('up'); is true if the Up Map Control is visible.
Where you currently have the line: Plugin Command: MapControls setButtonState up true $gameSwitches.value(2)... you could switch that line instead to "Move Route: Player: Move up." Then the Player would move up whenever the Up Map Control is pressed.
@bluebooth
I have follow your answer to Lucia116, but i have a problem, the hero move by 2 tiles instead 1... how can i fix it?
I have an idea, i'm not a developer so just my 2 cents...
You dont think it will be more easy if in the JS code, instead when the script turn ON a button (if pressed)
The script tell to the engine not only Turn On Button (so change graphics) but DO that function.
I mean, if i use arrows or gamepad and press buttons they turn ON and character Do the relative action but if i press a button with the mouse they turn on, but the character don do nothing.
I have follow your answer to Lucia116, but i have a problem, the hero move by 2 tiles instead 1... how can i fix it?
I have an idea, i'm not a developer so just my 2 cents...
You dont think it will be more easy if in the JS code, instead when the script turn ON a button (if pressed)
The script tell to the engine not only Turn On Button (so change graphics) but DO that function.
I mean, if i use arrows or gamepad and press buttons they turn ON and character Do the relative action but if i press a button with the mouse they turn on, but the character don do nothing.
Hey, Lakaroth, thanks for the feedback!
I'm not sure what you mean by your feedback?
If you press a button with the mouse, the character should still perform the button action.
How is your project setup? Can you post a screenshot of your project plugins setup?
This is probably an issue due to splitting larger plugins into more specific plugins as I've updated my scripts.
I've noticed when I use the mouse the character moves twice instead of once. I'm wondering if this is an unfortunate side-effect of using an input history queue (necessary for multi-touch). RMMV does not make distinction between mouse input and touch input, so fixing that could be... interesting.
Here's my setup:

I'm not sure what you mean by your feedback?
If you press a button with the mouse, the character should still perform the button action.
How is your project setup? Can you post a screenshot of your project plugins setup?
This is probably an issue due to splitting larger plugins into more specific plugins as I've updated my scripts.
I've noticed when I use the mouse the character moves twice instead of once. I'm wondering if this is an unfortunate side-effect of using an input history queue (necessary for multi-touch). RMMV does not make distinction between mouse input and touch input, so fixing that could be... interesting.
Here's my setup:

Hi bluebooth, my feedback is positive 🙂
Your plugin is amazing !
i'm doing some test, then i'll update this post thanks a lot!
EDIT:
@bluebooth dear blooboth i have fix almost everything but i find a bud if i try my game on device, that bug there's only in devices and no on the PC.
If the plugin BBS_MultiTouch.js is ON i cant' skip messages on mobile.
I have try it with : Intel XDK Wifi test on an iPhone 5S.
I don't know if u need others information let me know.
I have also try it in browser version, works on desktop don't work in mobile.
Best
Your plugin is amazing !
i'm doing some test, then i'll update this post thanks a lot!
EDIT:
@bluebooth dear blooboth i have fix almost everything but i find a bud if i try my game on device, that bug there's only in devices and no on the PC.
If the plugin BBS_MultiTouch.js is ON i cant' skip messages on mobile.
I have try it with : Intel XDK Wifi test on an iPhone 5S.
I don't know if u need others information let me know.
I have also try it in browser version, works on desktop don't work in mobile.
Best
Aight, sounds like I'll need an override for message boxes.
There was an override already in place. The code for testing whether the Map Controls had dominance however, was too vague. I've made it more
specific. Will post the updated version soon.
Are you still getting the two movements when click bug as well?
There was an override already in place. The code for testing whether the Map Controls had dominance however, was too vague. I've made it more
specific. Will post the updated version soon.
Are you still getting the two movements when click bug as well?
@bluebooth sorry for the delay i don't received the notify 🙂
Yeah, everything works, two click works, just that bug.
Yeah, everything works, two click works, just that bug.
I've put up a new version which should fix the issue (it did on my end!).
Can you confirm it fixes the issue for you as well?
Sure i can, not immediatly, but i'll do that ASAP and i'll tag u here thank you very much for your support.
Best
Hi people!
I'm having an issue that it's like this:
- Buttons shows up on screen and they are highlighted when keyboard is pressed, but upon being touch, the character movement through screen touch/mouse click still works.
- As I stated, character moves with keyboard and the respective buttons get highlighted. But probably because of the character movement still working through click I can't click on the buttons. It's like I'm touching the screen and the character moves there, and so the buttons do not work.
- If I travel from one map to another the controls disappear and will not show back even if I get back to previous map.
Hope I was clear on what I am experiencing. I set everything just like your demo, the common events and all. I just changed the switches and variables not to mess with the ones I already use, and I am calling the plugin script to disable the screen touch. But it doesn't seem to do the trick.
Thanks in advance!
I'm having an issue that it's like this:
- Buttons shows up on screen and they are highlighted when keyboard is pressed, but upon being touch, the character movement through screen touch/mouse click still works.
- As I stated, character moves with keyboard and the respective buttons get highlighted. But probably because of the character movement still working through click I can't click on the buttons. It's like I'm touching the screen and the character moves there, and so the buttons do not work.
- If I travel from one map to another the controls disappear and will not show back even if I get back to previous map.
Hope I was clear on what I am experiencing. I set everything just like your demo, the common events and all. I just changed the switches and variables not to mess with the ones I already use, and I am calling the plugin script to disable the screen touch. But it doesn't seem to do the trick.
Thanks in advance!
Hey @luiscesjr, sorry to hear you're having a rough time with this plugin. Can you please post a screenshot of your project plugin list and what version of the Smart Map Buttons, and MultiTouch plugins you are using?
sry for revive post, is possible to add custom buttons?
Hello guys,
When I click on the buttons on the Demo project, nothing is happening, the character is not moving at all. Is it suppose to be like that, and then for me to set the event on my side to make the character move, and else?
Thanks! And I hope someone is still active on this amazing thread! 🙂
When I click on the buttons on the Demo project, nothing is happening, the character is not moving at all. Is it suppose to be like that, and then for me to set the event on my side to make the character move, and else?
Thanks! And I hope someone is still active on this amazing thread! 🙂
Original thread: https://forums.rpgmakerweb.com/threads/smart-map-buttons-customizable-map-scene-interface.56986/
