RPG Maker MV and Jquery.

I might not know enough about WebGL and canvas elements but I do know about javscript and javascript requires at the very least some kind of DOM to run in, with out the DOM we wouldnt have javascript

Im throwing your research comment back in your face with a video: 
Rather than waste an hour watching that video, I'm going to instead reiterate. There is a DOM. However, there is not much. There is enough to load the javascript, and then a bit extra to display errors in the event that some code within the game has an uncaught exception while running so that it is obvious there was an issue. Yes, RPG Maker MV comes with a DOM. Adding elements to the DOM is unlikely to work well outside the HTML5 export option.
So I am loosing a lot of respect for you based on the fact that you bolded your letters, told me you'd waste an hour watching the video when im giving you a learning resource and ya ... I'm done here.
So I am loosing a lot of respect for you based on the fact that you bolded your letters, told me you'd waste an hour watching the video when im giving you a learning resource and ya ... I'm done here.
While I realize it makes me look like an ass (To be fair I probably am), I had said that there was a DOM and you said I had said there was a distinct absence of one. I am sorry to have insulted you, and I myself didn't intend to bring the argument any farther, but please just tell me why you want to edit the DOM to add HTML elements? What purpose do they serve? I mean, by all means, if you can make something involving adding elements onto the DOM and it turns out to be the greatest thing since sliced bread then I am sorry that I couldn't see things as well as you, but from where I see things, changing the DOM won't help any.

So again, I apologize for my rudeness, and I suppose if you wish to continue discussing this we can continue as civilized people.
I must say that even if it works "only" for mobiles (can still work via a desktop browser), being able to access DOM would indeed allow to reinvent sliced bread for RPG Maker (as long as we can make it communicate bi-directionally with RPG Maker MV in-game values, like example via cookies or variables) 😉

-AJAX requests so we could POSSIBLY develop multiplayer online functionnality;

-IRC chat with webcam and micro support, like lightirc;

-new menus that could be stylized with CSS3, so animated;

etc.

If you know ANY other way I could do that WITHIN the RPG Maker MV Canvas, please let me know. I can pay you if that works!

Sorry for any rudeness, but if we overcome that artificial limitation, it would open a lot of new gameplay and graphical possibilities to the whole community.

Just tell me, how, example, I could make a menu item from RPG Maker MV to launch and display a simple default javascript alert box, without breaking the game in any way?

Or, how I could make a menu item from RPG Maker MV to change the innerHTML of a DIV?

Or, how I could make a menu item from RPG Maker MV to change its text based off the input of an <input type="text">?
I must say that even if it works "only" for mobiles (can still work via a desktop browser), being able to access DOM would indeed allow to reinvent sliced bread for RPG Maker (as long as we can make it communicate bi-directionally with RPG Maker MV in-game values, like example via cookies or variables) 😉

-AJAX requests so we could POSSIBLY develop multiplayer online functionnality;

-IRC chat with webcam and micro support, like lightirc;

-new menus that could be stylized with CSS3, so animated;

etc.

If you know ANY other way I could do that WITHIN the RPG Maker MV Canvas, please let me know. I can pay you if that works!

Sorry for any rudeness, but if we overcome that artificial limitation, it would open a lot of new gameplay and graphical possibilities to the whole community.

Just tell me, how, example, I could make a menu item from RPG Maker MV to launch and display a simple default javascript alert box, without breaking the game in any way?

Or, how I could make a menu item from RPG Maker MV to change the innerHTML of a DIV?

Or, how I could make a menu item from RPG Maker MV to change its text based off the input of an <input type="text">?
Everything is stored on variables, so yeah, you can integrate the canvas with the dom however you want. You can also use jquery if you want, but there's no need for it. Even ajax can be done without it.
There is no reason to use Jquery, you never use the dom.
If all you're looking for is methods to do simplified array an object manipulation try looking into Underscore.js if anything. Haven't actually tested it's compatibility with MV. it's extremely lightweight basically serves that purpose. It's methods tend to test much faster than the jQuery counterparts. For example underscore has _.each() and runs faster that jquery's $.each() and reads better as they made the first param the item param instead of the index like jquery did. Note that still the fastest loop when possible is still usually a pure js for loop with length caching, especially if you require breaking out of the loop early. underscore does have a lot of cool methods simplify things like finding the smallest item in a array _.min([1,2,3, 0]) -> returns 0. or finding the first in the array returns a true test _.find([1,2,3,4], function(num) { return num < 3}) -> returns 1

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-and-jquery.44440/