Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Darryl on January 31, 2016, 09:43:46 PM
-
Hello Dears
Is there any way to create a button in game to open a web page?
in other world I want create URL in main menu to open our game website
I look forward to hear a good way
Best Regards
-
From the documentation:
Game.OpenDocument(Filename)
Opens a specified document file or internet URL in an associated program.
Parameters
Filename
The filename of the document file to be opened
Remarks
This method uses the Windows extension associations to run the right program. Note that the document file MUST NOT be stored inside the game packages. It must be a regular file and you must reference it either by full filename or a filename relative to the game directory.