No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
How To: Add an externally hosted game to PUArcade
Thursday, 20 March 2008
Image As many PUArcade users know, there isn't an obvious way to load up games that are hosted at a different website.  While streamlining this may be part of a future PUArcade version update, it is possible to install externally hosted games right into PUArcade.  The best part is that the version of PUArcade you are using now probably already has this feature - you just didn't know it!  Read on below for step by step directions on how to add an externally hosted game into PUArcade.

 

  1. Locate your externally hosted game.  Be sure you have permission to link to this game!  There are some websites that allow you to hotlink their games.  You may also have another arcade site of your own that you want to link games from.  Either way, you will need the URL of the game you want to link to, for example: http://www.yoursite.com/components/flash/game.swf.
  2. Create a new text file.  In that text file, paste in the following code.  Remember to replace all occurences of "http://www.yoursite.com/components/flash/game.swf" with the actual URL to the game you are installing:
    <object type='application/x-shockwave-flash' allowScriptAccess='always' allowNetworking='all' height='480' width='640' data='http://www.yoursite.com/components/flash/game.swf'>
    <param name="movie" value="http://www.yoursite.com/components/flash/game.swf
    "/>
    <param name="menu" value="false"/>
    <comment>
    <embed src="http://www.yoursite.com/components/flash/game.swf"
    ></embed>
    <noembed></noembed>
    </comment>
    </object>
  3. Save the text file as "gamename.html" where "gamename" is the name of the game that you are installing.
  4. Install it in PUArcade by going to the administrative control panel and selecting "Manage Games", then clicking the "New" button in the top menu bar.  Then, use your html file as the game file.  You can fill out the rest of the form as you would for any other game.  Note that height and width won't take affect here.  Those values will come from the HTML file we made above.
  5. Thats it!  PUArcade has the ability to show html/javascript games, so what we are doing here is using that feature to load a flash game instead.  You could follow this same process to show a WMV/Quicktime video file by adjusting the code above to show a movie instead of a flash image.
NOTE: Games installed in this way cannot save scores.  Be sure to select "No" for score saving when you install the game.
 
If you have any trouble with it, please post in our forums here .

If you enjoy PUArcade, please consider making a donation using the donate button at the bottom of the page. 

 

 

Comments (2)Add Comment
...
written by Tina123, April 12, 2008
I tried it with your Instructions severall Times witjout Luck. Can you give a more specific Example how you do that ? Maybe with an Game from a Site of your Choice ?

Greetings Tina
report abuse
vote down
vote up
Votes: +3
...
written by pragma, September 29, 2008
A lot of websites don't allow this kind of leaching. You need to be sure to only use websites as sources that allow it.

This game, for example, is hosted from another site:
http://www.pragmaticutopia.com...8/gid,197/
report abuse
vote down
vote up
Votes: +0

Write comment
You must be logged in to a comment. Please register if you do not have an account yet.

busy
Last Updated ( Tuesday, 19 August 2008 )
 
< Prev   Next >

My Amazon.com Wish List