How to link to the web app

More
17 Aug 2013 02:51 - 22 Jan 2014 16:23 #1 by plamzi
One of the points of the web app is to allow game admins to send players directly to their game from their official game site or ad. This is very simple to do, and is especially recommended for games that use MXP or wish to reach out to people who may no longer have Flash installed on their platform of choice.

Embedding a Play Button:
<a href="http://www.mudportal.com/play?host=SERVER-HOSTNAME&port=SERVER-PORT" style="cursor: pointer">
<img src="http://www.mudportal.com/images/play.png"></a>

The Play button looks like this:

  • The URL stem can be either www.mudportal.com/play/ or www.cloudgamer.org/play/ . Choose the former if your audience is familiar with MUDs. Otherwise, use the latter.

  • The URL parameters '&host=' and '&port=' tell the app to load a good old ScrollWindow pointed at this host and port. You can also leverage these parameters during development, e. g. if you are running a staging server on another host or port.

  • The URL parameter '&clean=1' results in a page with no header or footer, just background.

  • The URL parameter '&solo=1' allows you to load a clean view with a Game Center panel that lists only your game and its profiles. Solo implies "clean" and also prevents the site header from loading.

  • The URL parameters '&width=' and '&height=' can be used to tweak the size of the ScrollWindow (in pixels).
Full List of Config Options
Last Edit: 22 Jan 2014 16:23 by plamzi.
The following user(s) said Thank You: rudeboyrave
The topic has been locked.