DMV Map Buttons

● ARCHIVED · READ-ONLY
Started by ?????? 130 posts Page 4 of 7 View original ↗
  1. ■ ᴆᴀřᴋ ᴆᴈᴋᴉᴦᴀ ■ said:
    ok this is strange as anything :/

    Could you upload a project for me that replicates the issue? I only need what you send to contain the js folder and the iconset image :)
    Sent you it in a PM
  2. can you tell me how to modify the script so that I can made the first button  touch and open the menu(include all menu,same as esc).Now it's function is open the item menu.

    I check all three classes and can't find any way to change this.

    I search the whole file but have not find anything about the button action.Where shall I do the customerize?

    Thank you very much
  3. Within the editor's plugin manager, there is an option labeled 'Button 1 Funk' which will have something like this:

    SceneManager.push(Scene_Item)You want it to say this instead:

    SceneManager.push(Scene_Menu)Easy ^_^
  4. Can these menu buttons be mapped to the keyboard buttons and respond to the conditionals: .isPressed, .isTriggered, .isReleased?
  5. They could be, I may or may not add it in the future. :)
  6. I just released the latest update for this system, which really enhances the capabilities of this system. :)

    Grab the new version from HERE, and dont forget to update the DMV Core plugin too - it is required for this update to work. :D

    Also, I uhh, edited some mv icons for this system, they arent great, but its what the updated script uses for its default button icons. So feel free to use them if you want. :)
  7. ....And the plugin escalates to being double awesome suddenly!

    Do you have plans to make it use also images instead of icons?
  8. I did intend on allowing for images to be used for buttons instead of icons, and was also going to apply that change in this update, but I decided not to, for now at least.

    The main reason I didnt, is because using images for each button could make the maps load noticably slower. But really, that would only happen if someone was using every possible button in every map. With it just using icons, the iconset is already preloaded at game boot, so it has almost 0 impact on performance. :)

    If having image buttons seems like a popular enough feature, I will add it in the future. :D
  9. Glad to have an update. Mind telling us how we can disable a button? I plan to keep it at a minimum, only really using it for a party chat and whatever else crosses my mind.
  10. If a button is not visible, it is not able to be triggered. :)

    Use these script calls:

    * $gameSystem.mapButtonVisible(id); * \_: Returns the visibility for button 'id', or false if invalid id given * * $gameSystem.setMapButtonVisible(id, visiBool); * | : Sets the visibility of button 'id' to 'visiBool' * \_: Returns the new visibility for button 'id', or false if invalid id given Hope that helps? :)
  11. ■ ᴆᴀřᴋ ᴆᴈᴋᴉᴦᴀ ■ said:
    If a button is not visible, it is not able to be triggered. :)

    Use these script calls:

    * $gameSystem.mapButtonVisible(id); * \_: Returns the visibility for button 'id', or false if invalid id given * * $gameSystem.setMapButtonVisible(id, visiBool); * | : Sets the visibility of button 'id' to 'visiBool' * \_: Returns the new visibility for button 'id', or false if invalid id given Hope that helps? :)
    So I just need to insert the top lines ($gameSystem.mapButtonVisible(id); & $gameSystem.setMapButtonVisible(id, visiBool) ;) right? I did that, including the proper button id and visiBool is not defined. Also, if you press the button multiple times if it's a common event, the common event just repeats itself. 

    EDIT: Resolved. Thanks.
  12. Just incase anyone else has the same issue, you just have to make id a valid button id, and 'visiBool' should be a boolean value to determine visibility. So it should look something like this:

    $gameSystem.setMapButtonVisible(5, false) $gameSystem.setMapButtonVisible(5, true) And that would set button 5's visibility to true or false. :)

    The other map button visible function just returns the current boolean value of the visibility flag, which will either be true or false, or 0 (numercial equivalent to false) or 1 (numerical equivalent to true).

    Hope that helps :D

    Edit:

    It has come to my attention that there is a LOT of the default scripts that create scenes that wont work with this system, due to them not having publicly available script calls to open the scenes, and only using plugin commands that are triggered within an anonomous functions scope. There is literally no way I can fix that issue as its not my scripts causing the problem, its the people who wrote the plugins and havent supplied global access to their newly created scenes.  This includes pretty much all default plugins given with the maker, such as the EnemyBook plugin.

    The fix is simple - you just have to locate the scene creation function and place it outwith the scope of the anonomous function that wraps the whole plugin. The scene creation function looks somewhat like this:

    Code:
        function Scene_EnemyBook() {        this.initialize.apply(this, arguments);    }
  13. Just wanted to show off something I did using this plugin and events/common events. (Sorry for the not amazing recording, but you should be able to get the idea.)




    This is a test map for the donut game. There will be coffee cups you can "catch" as power ups, which will add 5 seconds to the timer. When you get one, it will display on the screen until you use it up.

    I simply set the function of one of the custom icons to call a common event. The common event calls two script calls, one to add 5 seconds to the timer, the other to turn off the icon, thus consuming it.

    For my game, I will never have more than 3 of these item available, so I simply made 3 separate custom icons, just for sake of ease of displaying and removing them.

    I'm trying to convince Dekita to eventually add on to this script the ability to show one icon for an item, plus the number available of that item. And then when you use it, the number will decrease by one. There is a lot of potential use for such a feature. :p
  14. Hi!! I cant configure your plugin and im really interested on it. I have put MVCommons, DMV_Core and DMV_MapButtons in that order. When i starts play it says that i have an error. I dont change the default values, so, can you help me? :D :D :D Thanks in advance!

    1.jpg

    2.jpg
  15. @eneko - Hi there :)

    I think that the error you are getting is because the properties (plugin manager settings) arent being defined for whatever reason. This usually happens when a plugin has an incorrect name, but that does not seem to be the case :/

    How did you download the plugins? Via the direct download button on my site?

    Can you take a screenshot of the game console (F8 when playing) ~ that will be able to give me a better idea of the error you are experiencing..

    Additionally, the default settings use icon id's outwith the normal iconset limits, so those id's either have to be changed, or the iconset extended - with the icon image that is available on my site. :D
  16. Thanks for plugin!

    And if it possible add pls function to set custom images as buttons graphics.
  17. I am still considering allowing buttons to be custom images. If I do decide to, it will be within the next update ~ but I want to have more things to add before doing an update, so does anyone else have any other suggestions for enhancements? :)
  18. hmm, i think hover or permarnent text(with messages text codes) above\below the buttons would be cool :)
  19. oh yea, like a tooltip thing ~ someone also suggested that before and i forgot all about it, its certainly an idea i like though :D
  20. ■ ᴆᴀřᴋ ᴆᴈᴋᴉᴦᴀ ■ said:
    I am still considering allowing buttons to be custom images. If I do decide to, it will be within the next update ~ but I want to have more things to add before doing an update, so does anyone else have any other suggestions for enhancements? :)
    I think your plugin is mostly useful for mouse players and for those who playing on mobile devices. In terms of point-and-click gameplay it's very handy to have a "Back" icon in menus:

    eae2ab320f0dab23509d2c1c5ef8f750.jpg

    To facilitate control by mouse/touchpad a bit more. And to ease up life for those who using Mac's single-button mouses or hates keyboards for some reason) I think it's better alternative rather then "Back" strings which litters the menus.

    A settable hotkeys for icons sounds handy too:

    7251e036d07cd3d43077317915209022.jpg