Smart Map Buttons (Customizable Map Scene interface)

lucia116

Villager
Member
Joined
Feb 3, 2016
Messages
15
Reaction score
1
First Language
japan
Primarily Uses
I'm sorry, but I don't understand what you're asking.  If you're asking about where I define what to do when a given button is pressed, please open the MC Demo, open the INIT event at position (0, 0), and then select page 2.  There are conditionals there that check for the press of each Map Control.  Currently I don't define any particulars for each button press, you can put whatever you like in there.
I am bad at English. I'm sorry.
I just want to use a mobile(touch).


For example,


1。open the INIT event at position (0, 0), and then select page 2


2。スクリーンショット 2016-03-26 23.15.00.png


is this OK?


but not move...
 

bluebooth

Veteran
Veteran
Joined
Nov 12, 2015
Messages
95
Reaction score
115
First Language
English
Primarily Uses
N/A
I am bad at English. I'm sorry.
I just want to use a mobile(touch).


For example,


1。open the INIT event at position (0, 0), and then select page 2


2。View attachment 34612


is this OK?


but not move...


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.
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
272
Reaction score
129
First Language
English
Primarily Uses
@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.
 
Last edited by a moderator:

bluebooth

Veteran
Veteran
Joined
Nov 12, 2015
Messages
95
Reaction score
115
First Language
English
Primarily Uses
N/A
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:

WM_PluginOrder.png
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
272
Reaction score
129
First Language
English
Primarily Uses
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
 
Last edited by a moderator:

bluebooth

Veteran
Veteran
Joined
Nov 12, 2015
Messages
95
Reaction score
115
First Language
English
Primarily Uses
N/A
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?
 
Last edited by a moderator:

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
272
Reaction score
129
First Language
English
Primarily Uses
@bluebooth sorry for the delay i don't received the notify :)
 


Yeah, everything works, two click works, just that bug.
 

bluebooth

Veteran
Veteran
Joined
Nov 12, 2015
Messages
95
Reaction score
115
First Language
English
Primarily Uses
N/A
@bluebooth sorry for the delay i don't received the notify :)
 


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?
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
272
Reaction score
129
First Language
English
Primarily Uses
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
 

luiscesjr

Veteran
Veteran
Joined
Jun 26, 2014
Messages
117
Reaction score
11
First Language
Portuguese
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!
 

bluebooth

Veteran
Veteran
Joined
Nov 12, 2015
Messages
95
Reaction score
115
First Language
English
Primarily Uses
N/A
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!


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?
 

Black Mamba

Veteran
Veteran
Joined
Mar 6, 2014
Messages
261
Reaction score
77
First Language
pt-br
Primarily Uses
sry for revive post, is possible to add custom buttons?
 

TouchManage

Warper
Member
Joined
Feb 13, 2019
Messages
1
Reaction score
0
First Language
French
Primarily Uses
RMMV
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! :rhappy:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

For anyone who has uploaded a game to Steam and wonders if they actually check your game's build when you first upload it, I can personally vouch for Steam.
6 more towns to make in my game. SIX. not done with interiors yet but SIX EXTERIORS.
what to do when you come across a person that has stated "What if I say, f*** their EULA? I could probably get away with it." concerning asset packs sold here... on this site ...
So a guy enters in a bar and walks up to the counter. He looks the bartender with a mysterious look and asks him...
I've wondered for a while now... what is it about the YED SV plugin that just doesn't do transformations... I feel it's how it looks up the battlers honestly.

Forum statistics

Threads
93,494
Messages
912,970
Members
123,030
Latest member
Galewings
Top