Zheg

Veteran
Veteran
Joined
Apr 2, 2014
Messages
42
Reaction score
60
First Language
english
Primarily Uses
Hi, im wondering if exist a method to call a script (js) from the game to the html??
and process some score to it?
i mean, here's an example:
i have a game with hi-scores table and i want to that scores, also shown in the html
i know the basic of js and html but to transfer that information from rpg maker game to the html idk if its possible

0Qvhmgy.jpg
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,635
Reaction score
1,457
First Language
French
Primarily Uses
RMMV
what you trying to do need a lot of experience with node.js

you have some node js commande.


PHP:
 var myvar = require('nw.gui').Shell.openExternal( this.href ); // url dir example (external)

// or in (game.exe)
 var myvar = require('nw.gui').Window.open('www.google.com', {
    nodejs: false, // para props
    "new-instance": false // // para props
});

more info on the javascript context with node.js
http://docs.nwjs.io/en/latest/For Users/Advanced/JavaScript Contexts in NW.js/

node , will not work on android
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
12,003
First Language
English
Primarily Uses
RMVXA
'General Discussion' is for looking at broad themes that apply to making games. "How do I...?" (implementation) questions go in the appropriate Support forum for the engine you are using.

[move]Javascript/Plugin Support[/move]
 

Latest Threads

Latest Posts

Latest Profile Posts

Custom sleep sequence done! :kaopride:
fuY8hyg.gif
The other day I posted a merchant airship tileset and said it was overflow from my Advent Calendar. @Avery said something like "that's one way to flex!" Well, this morning I woke up and realized THAT I MISCOUNTED AND AM SHORT BY ONE DAY. My face and palm are now perfectly fused together.
Shin Megami Tensei V is really fun... and the music is sooo good.
*Saw a video of myself*
*Opens google*
*Search "How to delete my personality"*
Me: "I should make a quick prototype of my system to test early"
Also me: "Eh, drawing the character is more fun than actually making the game"
FFhEfyfUcAMOLjF

Forum statistics

Threads
117,100
Messages
1,104,580
Members
153,115
Latest member
junckycat
Top