Author Topic: Open URL command  (Read 1579 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Open URL command
« on: October 23, 2018, 08:52:37 AM »
This is cool, for example, to create contacts with the developer of the game as twitter, facebook etc.

For security reasons, I would probably add that when the command executes, the game pauses and shows a pop-up message with an advice like:
"You're going to open an URL"
"It may be unsafe"
"                          "
"(Here will be the URL the command wants to send you)
"Only go if you're totally sure that is secure"

And the buttons: "Go" "Copy URL" "Cancel"

"Go" will open the URL
"Copy URL" will copy the URL to the clipboard but it won't open the URL
"Cancel" will only resume the game and will not open anything.

The command should be like
Code: [Select]
<open URL>(URL)For example:
Code: [Select]
<open url>google.com
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Open URL command
« Reply #1 on: October 23, 2018, 04:32:51 PM »
Hmm... All URL's would have to be pre-viewed before games get published. Becasue websites can contain viruses, and inappropriate content.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Open URL command
« Reply #2 on: October 23, 2018, 05:13:58 PM »
Maybe, that's because I told that will be cool that when the command executes and before the URL opens, ask the player if he wants to open it and check it before opening it, and advice the problems that can have.
Sorry because my English is not very good because I'm Spanish ;) :P