I've used phonegap before a couple of times, but had never heard of intel xdk, but on intel's website, it says:
Actual JS code from RPG Maker MV
Learning JavascriptI still don't understand even after reading this from one of the devs...
http://phonegap.com/2012/03/19/phonegap-cordova-and-what%E2%80%99s-in-a-name/
In any case, would phonegap/cordova be something that we need to be concerned with in the first place?
http://phonegap.com/2012/03/19/phonegap-cordova-and-what%E2%80%99s-in-a-name/
In any case, would phonegap/cordova be something that we need to be concerned with in the first place?
It's a tool to wrap HTML5 apps into an installable android / iOS / windows phone / anything app. We could possibly use it to release our game on a platform not supported by MV itself.
We could also use it to add new features to our game, by writing a plugin to cordova and using it on our JS (in the case that something isn't possible on the JS itself).
There are several HTML5 wrapping engine, like xamarin, appcellerator, sencha touch
well, if RMMV use intel XDK, then nope.
Having said that to use the HTML5 wrapping engine, there is still a learning curve. If it is more mainstream, it is usually much better to get help, to use premade plugins, etc..
Sencha touch is not exactly a wrapper. It's an entire JS framework. And if I recall correctly, it still needs Cordova to wrap the JS app into an actual app.
I see.
Usually this type of application is called "Hybrid-App", it is actually a browser-app, not a native-app.
The concept behind phonegap is actually our normal browser(like chrome or safari) is extremely powerful and efficient application, pre-installed in every OS, provided and maintained by multi-billion company... it can play games, music, HD video, etc.
And the best thing is, each browsers can run javascript code, which mean one source-code should "ideally" run in any/each browser with a similar result. So, rather than we write swift for iOS, java for android, why not "write javascript once, and run in any pre-installed browser that comes in each OS", hence the slogan "write once run anywhere"..
The truth is: This hybrid-App is actually just your browser. The trick is by hiding the url-address, bookmark, etc.. and running fullscreen. Now how can any common people know if this is a browser or native app? Furthermore, like normal browser, you get to access geolocation, contacts, camera, and so on in javascript.
Having said that, slogan "write once run everywhere" has some significant flaw.
Main one is performance, it is slower than native app. For a very basic mini game that I made for android 4.0 and iOS 5(i think), the game stagger when it renders (framerate about 10-15/s). I have to do extra work to improve this simple basic games.
Secondly, but not that crucial for games is that default plugins for browser is too general; If I want custom functionality, I still have to learn native language or use plugins that is written by the communities.
I hope this can help.
It seems that intel XDK use phonegap as it's wrapper too.
https://software.intel.com/en-us/blogs/2015/09/23/september-2015-intel-xdk-update-hello-cordova-5
I should said, if RMMV does a good job, we just need to follow its guidelines and documentation. But I just can't help but doubt the performance of hybrid-app.
Original thread: https://forums.rpgmakerweb.com/threads/actual-js-code-from-rpg-maker-mv.44112/