@calamis please use English on this forum. Use Google Translate if you have to.
Eli Mobile Controls - Responsive on screen buttons for mobile games!
JS Plugin Releases (RMMZ)- You can't speak Portuguese here. You need to write in English.
They are on the sample project on itch io
(Fala fera! Aqui tu tem queue falar em inglês xD. As images estão no projeto de exemplo, no itch io, nesse link acima).
Version 5.1.0 - 05/08/2023
- Added a new plugin parameter that let the user select on what type of platform the plugin will be enabled: Desktop, Mobile, and Web Browser.
Is it possible to disable the buttons on the identified map?
Hi!
Currently not. You can only disable buttons by different scenes, not by map Id.
But I believe I can add this feature!
Thank you very much
Version 5.2.0 - 06/08/2023
- Added a new plugin parameter that let the user input a custom condition for the button to show on the scene. Requires some javascript knowledge.
- Fixed a compatibility issue with Eli Book 5.4.7 and Eli Message Manager(MZ only).
To do that on the new version, put this on the new "Allowed Condition" parameter:
Replace the ID with the map ID you want.
That condition must always end with(without quotes):
"return boolean value"
Where the boolean value must be true or false.
My bad!
Put SceneManager._scene
Hi. This plugin has become really useful for me. It works and enables my web based game to work on phones. A question or two remains. One is, my ESC button is disabled within the Options Menu, even though I set the parameters (I think) to enable it.
I do have YEP_MainManagerMenu enabled though - maybe this is the problem.
On a side note, cam anyone tell me how to disable the URL window when my game is playing on a mobile phone through a browser?
I do have YEP_MainManagerMenu enabled though - maybe this is the problem.
On a side note, cam anyone tell me how to disable the URL window when my game is playing on a mobile phone through a browser?
Hi!
Are you saying that your ESC button is not working inside the Scene Options menu?
Can you tell me what you are trying to do and what the ESC button is supposed to do?
Also, can you show me a full screenshot of your ESC button configuration on plugin parameters?
That one you sent is just telling me what scenes the ESC button will appear.
Remove the YEP plugin and see if it will work to test if this is a compatibility issue. I don't believe it is. But we need to test.
Thanks for your kind reply. I got busy with other things. I hope this is the screenshot you are after.
The ESC button is supposed to return the player to the main part of the game, the map. It does for everything except the options screen.
For example, in other screens, your button comes up:
But when Options is invoked, it disappears. Therefore a player on mobile might be completely stuck.
Thanks for any help you can give on this.
Got it!
The problem is you are using a custom options scene, not the default one.
The default one is called: Scene_Options
Your custom one is called: Scene_mushOptions_P2
So, you need to allow the button to show on the custom one.
Thanks so much!
Hello, if I want to hide all but two buttons that I need to remain active, how should I write the script?
Hi, when I switch to my cell phone the ringtone works but it also makes the character walk. For example, the attack button also makes you walk, is this normal? It helps me
Hi there!
I do not understand the problem.
1 - The ringtone works but also makes your character walk. What do you mean by ringtone?
2 - The attack button also makes you walk. What is the attack button, and what he does do? Are you using it with another plugin?
I guess first you need to download my sample project and test the plugin there so you can understand how it works. After that, you move it into your project and test it there.
As you can see on the video you posted, which is the one I did showing off the plugin, you just need to attach the keyboard buttons to the mobile screen buttons. My buttons on the screen will just simulate the ones that already work on the keyboard.
Otherwise, you will need to give me more details on how you setup the plugin and what he is doing, like a video or screenshots of your configuration/problem happening.
Thanks for the answer, when I use it to shoot, the character walks, the ideal would be to throw the arrow and the character stays still
I still did not understand entirely your problem. But it seems to me that you attached the same keyboard button to two different mobile buttons, so they are doing the same thing.
Otherwise, read my previous post and try to answer/test what I suggested.
the button is ok where to shoot with the character walking, but I want him to stay still, but I can't, as if I had pressed two buttons
Original thread: https://forums.rpgmakerweb.com/threads/eli-mobile-controls-responsive-on-screen-buttons-for-mobile-games.133940/