Publishing Problems
#1
Posted 09 March 2012 - 11:23 AM
The site software allows me to enter what it calls 'free text' to add the card so I have changed the HTML index to have an absolute link to the 'html5game' folder:
http://www.website/h5cards/html5game
I have also done a find and replace in the Java script file so that the one reference to 'html5game' is now http://www.website/h5cards/html5game
The card works fine if I go directly to the html index file (so those changes must be correct) but will not appear when the index.html is added as freetext into the webcards site.
Does anyone have any ideas?
#2
Posted 10 March 2012 - 12:02 AM
#3
Posted 13 March 2012 - 12:03 PM
You don't need to add the whole index file, you just want the canvas part and the javascript part that calls the card's *.js file.
That doesn't seem to help either :-(
There must be something else I am missing.
#4
Posted 13 March 2012 - 07:14 PM
They do support HTML5 right?
#5
Posted 14 March 2012 - 04:25 PM
http://www.website.com/h5cards/card1
where the full path to the .JS file (and game data) is actually
http://www.website.com/h5cards/card1/html5game
So the index file would live inside the card1 folder.
#6
Posted 19 March 2012 - 12:55 PM
You can't link directly inside as GameMaker looks for the folder "html5game". This means you would have to do something like this....
http://www.website.com/h5cards/card1
where the full path to the .JS file (and game data) is actually
http://www.website.c...card1/html5game
So the index file would live inside the card1 folder.
Ahhh. Many thanks Mike . I'll give it a try.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











