Is there a way to disable tapping/clicking on the map menu icons while an event is running (or messages active)? I seem to get an erorr if any of the icons are tapped/clicked on during said situations.
More specifically, when I close the menu. The error that is given is:
TypeError
Cannot read property 'bitmap' of undefined
DMV Map Buttons
● ARCHIVED · READ-ONLY
-
-
That is a bug I have fixed in the latest unreleased version. When I do release my updates, the new version will fix that :)
-
I hope, it will have switch, so..
when cutscene, i can hide it :3 -
It will also have the ability to hide buttons. :)
-
Thank you.. :3I will wait for it.. :3It will also have the ability to hide buttons. :)
-
Randomly the buttons have all become black. I disabled all plugins I added since it last worked and they are still black on test
-
I have no idea.. maybe something to do with a black iconset being used?
Are any error messaages for the script popping up on the console? (F8 in game to access) -
I wonder if it has anything to do with the size of my icon set? it's 16,000 x 512. Icons work normally everywhere else with no issues (it's so big because its a collection of every icon I had from ace. every time I got more I combined them onto one sheet and it grew. it is my "messing around experimenting icon sheet)\I have no idea.. maybe something to do with a black iconset being used?
Are any error messaages for the script popping up on the console? (F8 in game to access)
edit: yes, it seems like the size of the icon sheet is causing it from the console menu -
Can you screenshot the console and its errors for me? :)
-
Can you screenshot the console and its errors for me? :)

-
so is possible to you to do it?
http://forums.rpgmakerweb.com/index.php?/topic/49088-onscreen-controls-gamepad-rmmv/#entry486914 -
@Bernkastel - you said your iconset was all old ace icons? are they in a 32x32 size?
If not, you would need to change the values show below;
var bw = 32, bh = 32, button = new Sprite_Button();to whatever values you are using.
These lines can be found within my core plugin at line 278..
That is the only reason i can think of for you getting those notifications. :/ -
My icon set is exactly 512 x 18,016. (it WAS 18,000 before a min ago but fixing it to 18,016 didn't seem to fix it.)@Bernkastel - you said your iconset was all old ace icons? are they in a 32x32 size?
If not, you would need to change the values show below;
var bw = 32, bh = 32, button = new Sprite_Button();to whatever values you are using.
These lines can be found within my core plugin at line 278..
That is the only reason i can think of for you getting those notifications. :/
the icon set is now 32x32 with the same result -
He means the size of each icon. In Ace, each icon was 24 x 24. In MV they are 32 x 32.
-
yes, each icon is 32 x 32 for a total size of 512 x 18,016He means the size of each icon. In Ace, each icon was 24 x 24. In MV they are 32 x 32.
-
with those iconset dimentions though it should just show a cut up icon image instead of pure black..
Can you change the whole function in my core script (found at the lines stated previous) to this one, and then show me the new console printouts :)
Code:$.createIconButton = function(icon1, icon2, parent) { var bw = 32, bh = 32, button = new Sprite_Button(); button.bitmap = ImageManager.loadSystem('IconSet'); var cx = icon1%16*bw, cy = Math.floor(icon1/16)*bh; var hx = icon2%16*bw, hy = Math.floor(icon1/16)*bh; console.log('Cold: ['+cx+','+cy+'] '+'Hot: ['+hx+','+hy+']'); button.setColdFrame(cx, cy, bw, bh); button.setHotFrame(hx, hy ,bw, bh); if (parent != undefined && parent.addChild){ parent.addChild(button); } button.visible = true; return button; }; -
with those iconset dimentions though it should just show a cut up icon image instead of pure black..
Can you change the whole function in my core script (found at the lines stated previous) to this one, and then show me the new console printouts :)
$.createIconButton = function(icon1, icon2, parent) { var bw = 32, bh = 32, button = new Sprite_Button(); button.bitmap = ImageManager.loadSystem('IconSet'); var cx = icon1%16*bw, cy = Math.floor(icon1/16)*bh; var hx = icon2%16*bw, hy = Math.floor(icon1/16)*bh; console.log('Cold: ['+cx+','+cy+'] '+'Hot: ['+hx+','+hy+']'); button.setColdFrame(cx, cy, bw, bh); button.setHotFrame(hx, hy ,bw, bh); if (parent != undefined && parent.addChild){ parent.addChild(button); } button.visible = true; return button; };
I blanked out an error that had nothing to do with your pluggin as to not make it confusing (I forgot to turn it off like last time) -
ok, it seems to be crashing when its registering the 8th button icon - did you ever change the default settings? by default, they should be -1 for all unused buttons x and y positions
-
yes, I have two unused buttons and they both sayok, it seems to be crashing when its registering the 8th button icon - did you ever change the default settings? by default, they should be -1 for all unused buttons x and y positions
-1, -1, 0, 0
null -
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 :)