Zeriab

Huggins!
Veteran
Joined
Mar 20, 2012
Messages
1,297
Reaction score
1,498
First Language
English
Primarily Uses
Other
MZ has many contexts.
Is this is in the Node build (Windows)?
Should the webpage be opened in a browser or inside the game itself (like a frame in a webpage)?
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,116
Reaction score
645
First Language
Poland
Primarily Uses
RMMV
I don't use MZ but in MV via common event this code does what you need:
Code:
var url = 'https://soulrender.itch.io/';
var start = (process.platform == 'darwin'? 'open': process.platform == 'win32'? 'start': 'xdg-open');
require('child_process').exec(start + ' ' + url);

 

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
2,057
Reaction score
855
First Language
French
It looks like it worked, thank you.
 

Latest Threads

Latest Posts

Latest Profile Posts

:LZSooo: Gotcha Gotcha Games... have launched an official discord server for RPG Maker. :LZSooo:

doodled a poring today :kaoluv:
uc
Fire-Emblem Style Level Up System, Boost on Class Change, And Animated Arrows | RPG Maker News #115

Why keyboards don't sleep? Because they have two shifts.
I realized a while ago my game was toooo big in scope. even now I wonder am I trying to do too much by myself. and that's after completely changing the format of the game.

Forum statistics

Threads
113,945
Messages
1,078,573
Members
148,049
Latest member
kuza_re
Top