Possible way to embed web game into your site

simo103simo103 Member, PRO Posts: 1,331
edited November -1 in Working with GS (Mac)
I saw a post a while ago regarding displaying ones game within your own website and it reflected on the fact that the embed feature doesn't work in the Gamesalad website game view.

I have been able to get a work-around working however I will need someone with 0.9 to test it through as I am on 0.8.9. The part I can't test is where de-activating the download code feature removes the functionality of this effort. (IE; it could all be for nought but I hope someone will think it worthwhile to test).

What you will need to do:

1. temporarily update your game on the website and turn on the download code selection (for a few seconds) and then go to the your game page in game salad. View the source of that webpage and search for: 'Use this link to download a copy of the game project' .. right next to that is the code you need to copy which will look like this: 'http://api.gamesalad.com/asset/view/xxxxx' (the xxx's being a number).

2. Update your game to remove the download code button

3. copy that link into the code below and paste all that code into your website page. (may need to adjust width and height)

<iframe src="http://api.gamesalad.com/asset/view/xxxxxx" style="border:1px black solid;" name="frame1" scrolling="auto" frameborder="no" align="center" height = "400px" width = "600px">
</iframe>

let me know ... as I said above I only have a couple of demos on my page which are open for downlaod so they work but with 0.8.9 I can't update them to turn off the download to see if it cancels the functionality.

Good luck.

S
Sign In or Register to comment.