How to show a website in my game?

aroha

Veteran
Veteran
Joined
Apr 29, 2019
Messages
30
Reaction score
7
First Language
Chinese
Primarily Uses
RMMV
How can I browse a webpage in my game?
If can't do this, how can I show several pictures on the Internet in the game?
 

Hyouryuu-Na

Currently Inactive
Veteran
Joined
Jun 15, 2017
Messages
434
Reaction score
908
First Language
Bangla/Bengali
Primarily Uses
RMMV
Is your webpage dynamic? If it's static, you can just keep the .html file somewhere in your game folder and then call this script:
window.open("myHTMLfile.html");
Note: this is just for static webpages. Nobody can like, comment or do anything with your webpage though. they can just view the contents.
Or,
Here's a plugin that I know of:
Or,
// Open URL in a new window
window.open('https://github.com/nwjs/nw.js', '_blank');

// Open URL with default browser (Windows Or Mac Only)
require('nw.gui').Shell.openExternal('https://github.com/nwjs/nw.js');
 
Last edited:

aroha

Veteran
Veteran
Joined
Apr 29, 2019
Messages
30
Reaction score
7
First Language
Chinese
Primarily Uses
RMMV
Is your webpage dynamic? If it's static, you can just keep the .html file somewhere in your game folder and then call this script:
window.open("myHTMLfile.html");
Note: this is just for static webpages. Nobody can like, comment or do anything with your webpage though. they can just view the contents.
Or,
Here's a plugin that I know of:
Or,
// Open URL in a new window
window.open('https://github.com/nwjs/nw.js', '_blank');

// Open URL with default browser (Windows Or Mac Only)
require('nw.gui').Shell.openExternal('https://github.com/nwjs/nw.js');
Thanks for your reply,but what you said is not what I want, I want to open the dynamic webpage in the window of the game instead of opening a new window.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

It's weird I actually have MORE work to do when stuck at home than before.
The No Travel Game Jam is here! Jump in to make a game in the month of April that takes place all in one town!


Decided to take a stab at video editing.... Even made a clickbait screen. I'm so proud of my sellout ways. :LZSexcite:

Forum statistics

Threads
95,470
Messages
929,385
Members
125,710
Latest member
SamAmimundo
Top