MBS - Mobile DirPad & Action Button

Discussion in 'JS Plugin Releases (RMMV)' started by  Masked , Nov 2, 2015.

  1. ACECORP

    ACECORP Founder & Entrepreneur Veteran

    Messages:
    253
    Likes Received:
    38
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    What image files do you guys recommend with this? I'd like to start using images that have been tested with the script so I know they are just the right size and type. 

    Code:
    
     @default ./img/system/DirPad.png
     
     @default ./img/system/ActionButton.png
    
     @default ./img/system/CancelButton.png
     
    #41
  2. ACECORP

    ACECORP Founder & Entrepreneur Veteran

    Messages:
    253
    Likes Received:
    38
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    I used one of the directional pad and button sets here -- http://opengameart.org/content/onscreen-controls-8-styles


    But after about 30 seconds, things get a little glitchy and the directional pad doesn't work right. It locks up, and incessantly opens the menu and ultimately becomes unusable. Is there something specific I should look at in the code? What might be the cause of the instability. I don't have any other plugins loaded.


    IOS 9.3.1, running on an iPhone 6 Plus - thats all I have to test it so far.
     
    #42
  3. ACECORP

    ACECORP Founder & Entrepreneur Veteran

    Messages:
    253
    Likes Received:
    38
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Can anyone post the exact DPad images they used from the  http://opengameart.org/content/onscreen-controls-8-styles as well as the plugin parameters such as size and position?


    I have a feeling that my problem is due to a mismatch between the size and position of the image as specified in the plugin, in comparison to the image itself. I am using the default values. I also tried 42 for the dpad value instead of 52 which was the default and that was a little better but I'm guessing its not entirely right.
     
    #43
  4. BlastCactus

    BlastCactus Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    English
    Guys, is there anyway to make the dirpad controls disappear on my game's main menu?
     
    #44
  5. Killuki Zaoldyeck

    Killuki Zaoldyeck Veteran Veteran

    Messages:
    217
    Likes Received:
    22
    First Language:
    Spanish
    Primarily Uses:
    N/A
    Masked, can you please add also the L and R button? It would be really helpful for the menus, for skip turns on battle and more.


    Thank you in advance!


    EDIT: BUG FOUND! The script completely disables the touch movement... please don't do that, also, when the img path of the dirpad button is empty the game still tries to load the img file and showns the error "Failed to load".


    EDIT2: Also the button doesn't work when using QuasiNameInput and QuasiInput, but because that's a compatibility issue this has low priority, I just disabled those plugins.
     
    Last edited by a moderator: May 14, 2016
    #45
  6. parkman202

    parkman202 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Hello, Masked!


    I really enjoy your plugin, as it is helping me get closer to making a game for mobile! I'm having an issue however; with Soulpour777's Camera Scroll EX plugin, the plugin commands don't work (the enable and disable commands). Upon attempting to disable the controls, they stay onscreen and remain 100% functional, regardless of my attempts to disable it. If you don't feel like making it compatible, don't worry! Camera Scroll EX isn't a necessity, so I can just remove it if need be, but I have it to complete an effect I'm doing. Keep up your amazing work! ;)
     
    #46
  7. Linard

    Linard Veteran Veteran

    Messages:
    202
    Likes Received:
    17
    First Language:
    Filipino
    Primarily Uses:
    RMMV
    Hello masked, I actually liked this plug in :)  But i don't get the function of the button size :(  I set and test manually the button size and i can't get the perfect touch input of the DIR pad.


    I try this sample image it's not mine

    DirPad.png



    Thanks for your response.
     
    #47
  8. ShellFlare

    ShellFlare Veteran Veteran

    Messages:
    81
    Likes Received:
    14
    First Language:
    English
    I have a game, but I want the normal touch controls, yet use this plugin for its CancelButton only. is there any way to have only the cancel button work and not have the plugin disable touch?
     
    #48
  9. Killerslash

    Killerslash Villager Member

    Messages:
    6
    Likes Received:
    1
    First Language:
    Arabic
    Primarily Uses:
    RMMV
    It working for me, but I need a jump button, can you do jump button for me sir?
    please:hhappy:
     
    #49
  10. y0da

    y0da Villager Member

    Messages:
    21
    Likes Received:
    1
    Hello.
    Thank you for your plugin.

    How can I keep the touchscreen enabled?
    Can you edit your plugin, so that you can choose if you want to disable it or not?

    I just want a cancel button in my game. I use two transparent pixels for the dpad and ActionButton
     
    #50
  11. Pixel raptor

    Pixel raptor Villager Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    English
    upload_2017-5-1_12-49-19.png

    Help. I downloaded the 1.0.3 version and this happened.
     
    #51
  12. KravenarGames

    KravenarGames Veteran Veteran

    Messages:
    106
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    N/A
    The directional DOWN button is not working with Yanfly engine: 1280x720.
     
    #52
  13. Davy

    Davy Villager Member

    Messages:
    8
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    I hope im not just reviving an old post. Realy need these 2 bugs to be fixed. :)

    2 Questions:
    #1 Its up and running, but its double klicking if i use the button in main menu.

    #2 If i open the skill menu it crashes with the following error: Cannot read property 'lastMenuSkill' of null. Anyone that could help me solve these 2 bugs? I cant find a bug in the file then again my Java knowledge isnt that good.

    Thanks in advance!
     

    Attached Files:

    #53
  14. Andar

    Andar Veteran Veteran

    Messages:
    28,138
    Likes Received:
    6,372
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    @Davy
    1) please rename your directories in the project path to conform to networking rules (no spaces etc), that will solve one of the errors and prevent later deployment problems.
    2) your second problem has nothing to do with this plugin, it is caused by yanfly's skill plugins. please make a new topic in plugin support for that one.

    only the doubleclick is probably from here...
     
    #54
  15. Davy

    Davy Villager Member

    Messages:
    8
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks Andar, I renamed all directorys but i still get the exact same amount of errors. I only get this error popup when i use this plugin action button. I never have any errors, since i always fix them before i continue.

    ---------------------------------------
    Edit:
    Problem solved!
    Mobile DirPad was messing with Galv_ScreenButtons. It caused both the double click and the error. By simply disabling Galv's plugin all works perfectly again.

    ---------------------------------------
    Edit 2:
    Request:
    Is it possible to add 1 or 2 special action buttons to this addon? I have bein trying to add them but my Javascript knowledge isnt that great. Since all Pictureevent plugins are bein disabled by this plugin (touch wont work if the pad is active) i need a dedicated button to open/close a (world)map and also some world skills.

    Thanks in advance.
     
    Last edited: Jan 30, 2018
    #55
  16. RPGMAKERR

    RPGMAKERR Villager Member

    Messages:
    6
    Likes Received:
    6
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hi, I test it in a real devise and it is not working for me.

    I'm Using MBS_8Direction.js and MBS_MobileDirPad.js plugins.

    The app opens in the title screen, with the Pads working, but when the game starts this errors: E/chromium: [ERROR:instance.cc(49)] Unable to locate service manifest for metrics
    E/chromium: [ERROR:service_manager.cc(890)] Failed to resolve service name: metrics

    shows in the android Logcat.

    Any ideias?
     
    Last edited: Mar 5, 2018
    #56
  17. manck

    manck Veteran Veteran

    Messages:
    64
    Likes Received:
    4
    First Language:
    English
    Primarily Uses:
    RMMV
    #57
  18. CodyTheGreat

    CodyTheGreat Warper Member

    Messages:
    4
    Likes Received:
    0
    First Language:
    English
    Great Plugin!
     
    Last edited: Sep 24, 2018
    #58
  19. nzell717

    nzell717 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    italiano
    Primarily Uses:
    RMMV
    it works on my PC but when I export it for android it gives me this error
     

    Attached Files:

    #59
  20. jjleroy

    jjleroy I love bananas Veteran

    Messages:
    140
    Likes Received:
    31
    Location:
    Germany
    First Language:
    German, English
    Primarily Uses:
    RMMV
    HAHAHAHHAHA!!!!!!!!!!!

    IT WORKS PERFECTLY!!!!!!!

    I LOVE YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    #60

Share This Page