How do I export and play a html platform game?

Get help using Construct 2

Post » Fri May 08, 2015 12:41 am

Okay, so I made a game and tried exporting it for the first time. First I tried to export it in the desktop app, but of course you need to buy the full version of the program to do that (which is fine with me and I will consider buying it soon... But I tried to export it in html, and it made the file and everything, but I didn't know how to play it. I tried opening every file it made, but it wouldn't run the game. When I opened a file named, "Index" it opened chrome and said that I needed to upload the game first. What does this mean, and how can I play my game?
B
4
Posts: 4
Reputation: 208

Post » Fri May 08, 2015 1:59 am

you have to upload you game to a web sever to be able to play it browsers have security features preventing running straight from the desktop


you can try uploading to dropbox or google drive there is a tutorial somewhere on how to get it working

there is also the Scirra Arcade https://www.scirra.com/arcade/top-addicting-games

more options are clay.io, kongregate, FGL, and more just google or you the forums search
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Fri May 08, 2015 2:02 am

You're obviously new to this, so welcome !

What you need to do is host your files somewhere on the web, what Construct 2 has generated is basically a web page. Try googling some basic tutorials about HTML and web hosting.

Chrome can't read your index.html if you double click it, at least not until you change some parameters, but firefox, as I recall, does by default.
ImageImage
B
44
S
14
G
10
Posts: 167
Reputation: 7,781

Post » Fri May 08, 2015 11:23 pm

I think I've figured it out. Thank you guys so much for helping me solve this problem.
B
4
Posts: 4
Reputation: 208


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests