How do I can export my game on e html5 web site ?

Get help using Construct 2

Post » Tue Mar 18, 2014 1:07 pm

hello,
I have a problem because when I export my game to an HTML5 application, it doesn't work correctly. I have a dark window in any browsers ? I don't know why because in my construct 2 software, all is correct !
thanks for your help.
kind regards,
Mathieu
B
4
G
1
Posts: 7
Reputation: 343

Post » Tue Mar 18, 2014 1:10 pm

Did you run the project localy ? I mean by clicking on the generated index ?
You have to upload your generated project on a website. It should work !
B
40
S
15
G
5
Posts: 295
Reputation: 6,129

Post » Wed Mar 19, 2014 9:40 am

hello,
yes I exported my project on my web site. Now, my game appears but when I click on a button to go to another layer to launch the game, nothing appends ! So locally, it runs !?
I believed we didn't do anything else to export a project with choice of HTML5... I'm searching what is a problem ?
B
4
G
1
Posts: 7
Reputation: 343

Post » Wed Mar 19, 2014 9:49 am

without having a .capx to see that there is no error in your code I just throw a guess and possible situation that your game does not work anymore:

Have you uploaded all of the content from the export folder of your game and not just the index.html?

Maybe you can share a link to your game, this could help us to help you.
B
44
S
10
G
8
Posts: 437
Reputation: 6,473

Post » Wed Mar 19, 2014 3:33 pm

my small game is running. The last problem was the size of my pictures. When I reduced them, problems disappeared !
so, the sound doesn't work with IE...
link to test : http://lesintuables.free.fr/cocottes/index.html
thanks a lot,
kind regardsn
Mathieu
B
4
G
1
Posts: 7
Reputation: 343


Return to How do I....?

Who is online

Users browsing this forum: JonnaBunn and 23 guests