UCHU_MobileOperation_Modified_Ext

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,280
Reaction score
545
First Language
Portuguese - Br
Primarily Uses
RMMV
Feel free to delete this spoiler after read it.
I'm not the author of this plugin. I found a version of him named MVP_Gamepad in someone else's game. After that, I found the original version from Uchuzine, already with some modification made by someone called NAK(or dice2000)
You can check the link on GitHub.
So I made an upgrade of the plugin, but I can't make an extension, but I've identified inside the plugin the modifications that I made.
I also tried to contact Uchuzine on twitter, but he never answers me.
You can find the original Help File opening this file and check the Japanese version(jp).
The plugin parameters are translated into English by RyamBram. Please give credit to him.
Original Plugin by NAK >https://github.com/DICE2000/RPGMVplugins/blob/master/UCHU_MobileOperation_Modified.js


Introduction
This plugin adds onscreen buttons for mobile devices. The buttons are adjustable according to portrait or landscape mode, and you can render them off-screen on the black bars.

Features

-----Default by Uchuzine and Nak-----

• Shows a DPAD and Action and Cancel Button on the screen.
• Buttons can be placed outside the game screen on the black bars.
• Hide or show buttons through a switch.
• Set button size in plugin parameters(it resizes the image if necessary).
• You can configure actions for when you press or hold your fingers on the black bar.
• You can swipe left or right on the screen and operate the functions of the PageUp or PageDown buttons.
• Hide the buttons when the message box is open.

-----Added by Eliaquim-----

• You can add PageUp, PageDown, Shift, Menu buttons on the screen.
• Buttons can blink when you pressed them(change the opacity).
• You can choose if the cancel button will work to call the menu too or only to cancel.

ScreenShots



How to use
-----Default by Uchuzine and Nak-----

Button Images
•Button images should be in the /img/system folder.
•And they should be done in a 1: 1 ratio.
•For directionals, make sure the center of the directional pad is in the center of the image.

Button position parameters
•For each button you can choose a preset start position:
•left-top, right-top, left-bottom, right-bottom.
•To change them from these initial positions you can set the margin in the plugin parameters.

Button visible parameter
•Set whether you want the button to appear or not. If you disable it in the parameters, you will not be able to enable them within the game.

DPad Operation Range
•Specifies the size of the button's tap area.
•When 1: The touch area is the image area.
•When 2: The touch area is twice as large vertically and horizontally (spreading 50% out of the image).

DPad Diagonal Range
•Determines the direction of the character. Increasing this number will cause the character to change direction and assume a diagonal, such as up + right.
•When “0”: Only 4 directions (up / down / left / right) can be input.
•When “0.5”: Eight directions can be input evenly.
•When “1”: Four-way input of “upper right”, “lower right”, “upper left”, and “lower left”.
•The higher the number, the more mistakes occur, such as "I was going to push up but it was in the upper right".
•If there is no problem in 4 directions, specifying “0” will minimize the operation error.

AnalogMove
•Set this to true for compatibility with Analog Move.

-----Added by Eliaquim-----

You can choose if you want the buttons to blink when you pressed them.
Set the parameter opacity for each button to 0.5 for example. Then you can set the blink parameter to higher or lower opacity.
You also can use this plugin commands to hide all buttons or hide specific ones.

• show X
• hide X

Where X can be:
• dirpad / ok / cancel / menu / shift / pagedown / pageup / extra / all

NOTE: In fact, only the opacity of them will be set to 0. If you press in the place they are, they will work(but not blink, in case the blink parameter is true).

NOTE 2: In my experience, I have to test it a lot. To find the right size for my buttons on mobile. Since it not shows in the same proportion as in desktop.

NOTE 3: You can use CommunityBasic.js to see better the positions on the desktop if you want it to show in the black bars.
Change the parameters "screenWidth / screenHeight" to the size that you want for the screen of your game.
And change the parameters "changeWindowHeightTo / changeWindowWidthTo" to a size that you want, like 1280x720 or 1920x1080(16:9 - that is the majority in mobile).

Terms of Use

Copyright (c) 2015-2017 uchuzine, NAK
Released under the MIT license
http://opensource.org/licenses/mit-license.php

You can optionally credit me as Eliaquim or Rakuen Zero.
But you must credit Uchuzine and Nak.

Download
UCHU_MobileOperation_Modified_Ext

 

EseQueL

Veteran
Veteran
Joined
Oct 10, 2016
Messages
61
Reaction score
23
First Language
English
Primarily Uses
Woah... I saw your thread requesting for this plugin. You actually made one on your own. Congrats :)

Edit: my bad, turns out just an extension. Still great though. Thanks for this! :)
 
Last edited:
Joined
Aug 7, 2018
Messages
6
Reaction score
5
First Language
korea
Primarily Uses
RMMV
This plug-in supports a very good operating sense of DIR-PAD.
compatible with multi-touch.
It is a plug-in with considerable potential.
If improve a little bit more
I think mobile MV performance will improve very much.
Thank you so much:kaojoy:
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
This plug-in supports a very good operating sense of DIR-PAD.
compatible with multi-touch.
It is a plug-in with considerable potential.
If improve a little bit more
I think mobile MV performance will improve very much.
Thank you so much:kaojoy:
Does this plugin have multi touch?
 
Joined
Aug 7, 2018
Messages
6
Reaction score
5
First Language
korea
Primarily Uses
RMMV
Hi, this plugin have better support Virtual Button and Dpad of Aloe Guvner ?
Hello. Now, in my game,
Virtual Button and Dpad of Aloe Guvner
UCHU_MobileOperation_Modified_Ext
I'm using both. (100EXIT A)
Also, if you play a game that Eliaquim made,(Heroi por Acaso)
you can see that multi-touch works perfectly. (Multi-Touch Core Support)
Both games are on Google Play.
 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,280
Reaction score
545
First Language
Portuguese - Br
Primarily Uses
RMMV
Hi, this plugin have better support Virtual Button and Dpad of Aloe Guvner ?
They have different features. Aloe can render buttons according to the scene for example. You can attach common events into the buttons. This one don't have these features.
So it's test and see what suits better for you ^^
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
Hello. Now, in my game,
Virtual Button and Dpad of Aloe Guvner
UCHU_MobileOperation_Modified_Ext
I'm using both. (100EXIT A)
Also, if you play a game that Eliaquim made,(Heroi por Acaso)
you can see that multi-touch works perfectly. (Multi-Touch Core Support)
Both games are on Google Play.
i use IÓS :( but i will try it
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
They have different features. Aloe can render buttons according to the scene for example. You can attach common events into the buttons. This one don't have these features.
So it's test and see what suits better for you ^^
i have a question ?
if we use high comunitybasic changewitdth, will mobile devices have lag?
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
I tried, it was awesome and how to disable touch
 
Last edited:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
6,496
Reaction score
4,405
First Language
Dutch
Primarily Uses
RMXP

TrenTranVN, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,280
Reaction score
545
First Language
Portuguese - Br
Primarily Uses
RMMV
i have a question ?
if we use high comunitybasic changewitdth, will mobile devices have lag?
I don't think so. Change the windowWidth can't cause lag by itself.

I tried, it was awesome and how to disable touch
I think theres no way to to disable touch with this plugin. I use another one to do that.
But maybe the first two parameters if I remember can disable touch in desktop. Don't remember if it will disable in mobile as well.
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
[dpost]TrenTranVN[/dpost]
sorry

EDIT:There was an error, when I left the screen horizontally, I couldn't start in the up, left, right direction, but I could just start in the down direction then move it to the other direction. @Eliaquim
 
Last edited:

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,280
Reaction score
545
First Language
Portuguese - Br
Primarily Uses
RMMV
sorry

EDIT:There was an error, when I left the screen horizontally, I couldn't start in the up, left, right direction, but I could just start in the down direction then move it to the other direction. @Eliaquim
Hi!
It doesn't seem an error of the plugin to me...
But only this explanation, is not enough for me to debug the error.
I already tested this plugin in landscape and portrait mode. Also, with a game using both(that the player can change the orientation mid-game), and I don't see this happening.

Could you try to repeat this error in a clean project(without other plugins) and send it to me, to see if I am able to repeat and fix the error?
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
Hi!
It doesn't seem an error of the plugin to me...
But only this explanation, is not enough for me to debug the error.
I already tested this plugin in landscape and portrait mode. Also, with a game using both(that the player can change the orientation mid-game), and I don't see this happening.

Could you try to repeat this error in a clean project(without other plugins) and send it to me, to see if I am able to repeat and fix the error?
I use safari to check, if I keep the screen vertical then nothing happens. After I turned the screen, it just started to press the key down
 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,280
Reaction score
545
First Language
Portuguese - Br
Primarily Uses
RMMV
I use safari to check, if I keep the screen vertical then nothing happens. After I turned the screen, it just started to press the key down
Well, I will try to replicate it myself to see. But if you send me a sample would be nice xD
 

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
Well, I will try to replicate it myself to see. But if you send me a sample would be nice xD
You just need to create a new project and then use the mobile browser to test it, it only works for vertical screens, when using the screen rotation function on mobile devices, it still works. But it is imperative to use the first down key after each touch to move and I hope you will find it and fix it soon. This plugin is great compared to mobile devices
 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,280
Reaction score
545
First Language
Portuguese - Br
Primarily Uses
RMMV
You just need to create a new project and then use the mobile browser to test it, it only works for vertical screens, when using the screen rotation function on mobile devices, it still works. But it is imperative to use the first down key after each touch to move and I hope you will find it and fix it soon. This plugin is great compared to mobile devices
Hi there!
I make the tests here, and I can't replicate the error.
I have tried this using my version of the plugin and the original version, both worked ok for me.
I used android and in browser, both worked ok.
Going to landscape to portrait and the inverse two.
Using Rm Mv 1.6.2.
:(
Maybe you can alert the player if he changes the orientation it has to press the down button first. Can use an event to simulate a "pause game" and unpause after the press down button.
Sorry for not being able to help :(
 

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

Latest Threads

Latest Posts

Latest Profile Posts

In the strangest turn of events, my animations now live in the characters folder, and my character images now live in the pictures folder. It's a complicated world, but weirdly a more resource efficient one. :LZSexcite:
Did you know that we use robotic spy animals to learn about how different species behave in the wild? We're only a step away from robotic spy humans, and then Terminator. :p
Not being able to do a commission/request after all and having to give back the money is so heartbreaking.

Sometimes I'm just way too eager to help people out and suddenly find myself in a very deep hole because I'm not gonna be able to finish it. I really hope I don't come across as unprofessional to these people and in general. =n="
Learning Action Sequences!

Forum statistics

Threads
98,046
Messages
948,814
Members
129,310
Latest member
eillajones309
Top