Any way to port games containing node.js scripts to android?

peq42_

Yeet
Veteran
Joined
Feb 5, 2016
Messages
491
Reaction score
292
First Language
Portuguese(BR)
Primarily Uses
RMMV
Title says it all. Anyone knows a method to export games made in MZ or MV that include node.js scripts to android? Majority of the methods I've seen are basically mini browsers that load your game, but browsers have no support for all th extra stuff node.js has, thus my game won't run
 

Zero_G

Veteran
Veteran
Joined
Mar 28, 2020
Messages
93
Reaction score
54
First Language
English
Primarily Uses
RMVXA
You can try building it with Android JS. You will need some minimal programming knowledge.
 

peq42_

Yeet
Veteran
Joined
Feb 5, 2016
Messages
491
Reaction score
292
First Language
Portuguese(BR)
Primarily Uses
RMMV
You can try building it with Android JS. You will need some minimal programming knowledge.
Worked on that for a while... then noticed that ALL nodejs code needs to be within a single index.js file. Is there any alternative?
 

Zero_G

Veteran
Veteran
Joined
Mar 28, 2020
Messages
93
Reaction score
54
First Language
English
Primarily Uses
RMVXA
Sorry, I haven't used it too much. But you should be able to replicate how nwjs does it (look at the index.html of a MV project for example)
 

peq42_

Yeet
Veteran
Joined
Feb 5, 2016
Messages
491
Reaction score
292
First Language
Portuguese(BR)
Primarily Uses
RMMV
Sorry, I haven't used it too much. But you should be able to replicate how nwjs does it (look at the index.html of a MV project for example)
it would be possible... but would require such a huge amount of work, and maybe for me to have 2 sepparate files for a mobile and a desktop version of my game, considering how I make use of node-specific code in many parts of it.
 

peq42_

Yeet
Veteran
Joined
Feb 5, 2016
Messages
491
Reaction score
292
First Language
Portuguese(BR)
Primarily Uses
RMMV
anyone knows of a good way?
 

Bandito

Veteran
Veteran
Joined
Aug 23, 2013
Messages
52
Reaction score
22
First Language
spanish
Primarily Uses
anyone knows of a good way?


NodeJS's scripts don't work on mobile or at least not in a way where it's easy to do.
You could use a framework that bridges the mobile code with the frontend, like Cordova (cordova.apache.org) or capacitor (capacitorjs.com) does. I would recommend you to start with Capacitor, since it's easier to write a plugin using that. I haven't tried with Android but writing a plugin for iOS it's a breeze in comparison to Cordova by a lot.
 
Last edited:

Latest Threads

Latest Profile Posts

Ami
need a time to not open my MV,still addicted with new vegas

i wonder what addiction effect behind playing new vegas too much,maybe INT & Science gone worse in many days :D
cdjensen94 wrote on Kaliya's profile.
Are you the one who develops Kaliya's Visual Map Enhancements. If so I desperately need some help. I bought the plugin back a few months. I've only started using it recently.
Cause MP Damage instead of HP, Localization Plugin for Translation | RPG Maker News #112

Here in Fla were are seeing crazy covid spikes and some vaccinated getting bad infections. I had a mild fever on Thurs but it went down fast. How is everyone else doing. Hopefully you are all well. :)
Wish I was better at art, specifically that I was faster at it, bc this one NPC took Several Days to complete! It's gonna take So Extremely Long to do all of the art for my game, never mind writing it... Anyways, here's my gorgon, Hopernica Sthyxis!

57b88732c7abbcd84981dacf624a98495af61fcc.gifv

Forum statistics

Threads
113,828
Messages
1,077,750
Members
147,884
Latest member
erora
Top