Can I call a website in game? Not just from title screen plugin?
External links in game?
RPG Maker MV SupportWith Yanfly's External Links you can also use a plugin command to open a website at other points in the game, not only from the title screen.
Ok since it's made for the title menu, and I'm not at home on my pc can you describe how? My friend wants to buy the program but only if yes
In any event, you can use the plugin command
or
to open a browser window / tab with a website - Google in this case, but you can type in other urls, of course.
From looking at the plugin, it also seems that you can decide not to have a link in the title menu, if that's important, but I'm not quite sure about that. (Otherwise it would be easy to modify the plugin file for that.)
Code:
OpenNewTab http://www.google.com/
or
Code:
OpenNewWindow http://www.google.com/
to open a browser window / tab with a website - Google in this case, but you can type in other urls, of course.
From looking at the plugin, it also seems that you can decide not to have a link in the title menu, if that's important, but I'm not quite sure about that. (Otherwise it would be easy to modify the plugin file for that.)
My friend has a project he wants to do totally online with a map system of a virtual website and pull up pages from within game..
and I'm trying to get this to work BEFORE he buys the software because it's the entire point to what he needs to do.
and I'm trying to get this to work BEFORE he buys the software because it's the entire point to what he needs to do.
Okay it WORKS in an EMPTY project for some reason... so it's interfering with some other plugin.. what's the best way to find out?
So now I'm going to try to see if it's this one plugin I recently put in to change the in-game menu ... whatever it IS I will find out cause I need this to work..
So.. I'm copying my game folder and going to go through each one if these few I'm suspect of don't work.
So.. I'm copying my game folder and going to go through each one if these few I'm suspect of don't work.
If it's working in an empty project, that usually means there is some sort of plugin conflict. Try disabling all the other plugins and reenabling them one by one until you find where the conflict lies.
If you're using other Yanfly plugins, make sure you have them in the correct order, as shown in the plugin list on his website. Changing the order between Yanfly and non-Yanfly plugins might also help.
If you're using other Yanfly plugins, make sure you have them in the correct order, as shown in the plugin list on his website. Changing the order between Yanfly and non-Yanfly plugins might also help.
Your post made me think of a plain javascript event solution and at first I didn't believe this would work, but I called document.location = "http://google.com"; by event script and to my surprise that, it worked! Also low and behold the RPG MV game wrapper seems to be a light version of Google Chrome. Interesting.
EDIT: I see that you are trying to open in a new tab/window.
With plain javascript in an event, you might want to look into window.open();
EDIT: I see that you are trying to open in a new tab/window.
With plain javascript in an event, you might want to look into window.open();
THAT works amazingly, even if no buttons or toolbars.
if you know how to get those to open in the window too, that would really rock.
thanks this is a BIG help for my friend!
if you know how to get those to open in the window too, that would really rock.
thanks this is a BIG help for my friend!
W3 says the toolbar parameter only works in Firefox and IE. The game wrapper is Chrome.
You can have the toolbar in the whole game though if that's not an issue or even maybe preferred, if you edit your package.json (set the window->toolbar->true) (see this thread for json file locations) btw he has the Mac package.json location wrong, but that thread is from 2015, so I'm not sure how accurate it may be now.
You can have the toolbar in the whole game though if that's not an issue or even maybe preferred, if you edit your package.json (set the window->toolbar->true) (see this thread for json file locations) btw he has the Mac package.json location wrong, but that thread is from 2015, so I'm not sure how accurate it may be now.
EDIT:
I have build an .apk, a signed build relase ready for play store.
The link is blocked by a popup.. i need to link the complete version of my game.
So, you play the demo, then at the end you click the link for the Complete version.
How to fix it?
I have build an .apk, a signed build relase ready for play store.
The link is blocked by a popup.. i need to link the complete version of my game.
So, you play the demo, then at the end you click the link for the Complete version.
How to fix it?
Hey all! I had a related question about Yanfly's External Links plugin, but in connection with a game set to go fullscreen on PC. Is there a way to make the webpage open in a separate window but NOT make the game go all miniature with its game content? I currently have my game's screen size and game resolution settings in Yanfly's Core Engine plugin and a different plugin (named "fullscreen.js") by a developer named Christian Shicho set to the following JavaScript values:
Width is set to: window.screen.width * window.devicePixelRatio
Height is set to: window.screen.height * window.devicePixelRatio
I guess my question is, should I remove the fullscreen.js plugin and only use Yanfly's Core Engine plugin to set the game to fullscreen while losing the borderless frameless fullscreen effect, or is there some other way to get this to work?
Your thoughts?
Width is set to: window.screen.width * window.devicePixelRatio
Height is set to: window.screen.height * window.devicePixelRatio
I guess my question is, should I remove the fullscreen.js plugin and only use Yanfly's Core Engine plugin to set the game to fullscreen while losing the borderless frameless fullscreen effect, or is there some other way to get this to work?
Your thoughts?
Necro-post notice: KuroyakiDevGamed
This is also hi-jacking i.e. it is a different question to that of the OP. Please post a new thread. You can link back to this one if that helps your explanation.
Moderator note: I am therefore closing this
This is also hi-jacking i.e. it is a different question to that of the OP. Please post a new thread. You can link back to this one if that helps your explanation.
Moderator note: I am therefore closing this
Original thread: https://forums.rpgmakerweb.com/threads/external-links-in-game.74106/




