MBS - Mobile DirPad & Action Button

● ARCHIVED · READ-ONLY
Started by  Masked  64 posts Page 3 of 4 View original ↗
  1. 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
  2. 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.
  3. 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.
  4. Guys, is there anyway to make the dirpad controls disappear on my game's main menu?
  5. 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.
  6. 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! ;)
  7. 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. 

    Spoiler
    DirPad.png



    Thanks for your response.
  8. 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?
  9. It working for me, but I need a jump button, can you do jump button for me sir?
    please:hhappy:
  10. 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
  11. upload_2017-5-1_12-49-19.png

    Help. I downloaded the 1.0.3 version and this happened.
  12. The directional DOWN button is not working with Yanfly engine: 1280x720.
  13. 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!
  14. @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...
  15. 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.
  16. 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?
  17. Great Plugin!
  18. it works on my PC but when I export it for android it gives me this error
  19. HAHAHAHHAHA!!!!!!!!!!!

    IT WORKS PERFECTLY!!!!!!!

    I LOVE YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!