[Solved]Test HTML5 game in browser

0 favourites
  • 5 posts
From the Asset Store
This is a single chapter from the Construct Starter Kit Collection and the Student Workbook from the Workshop.
  • Hey everyone!

    I just started using C3 free version to see if I like it and so far I do!

    Was just wondering how I could test my game in an actual web browser instead of a standalone window?

    Thanks!

    Edit: If anyone is looking to do this without a webserver open up Run make sure you close out of all chrome windows and copy paste this into the Run dialog.

    C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --allow-file-access-from-files

    Then just drag and drop the index.html from the HTML5 export into the newly opened chrome window and enjoy!

  • I think you can export it as html5, then just upload it a webserver and go to that page.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Welp time to figure out how to create a webserver XD.

    Any suggestions?

  • If you have good upload speed at home, you could do something like Apache.

    There are also sites that offer free server (site hosting) that usually include access to a private fileserver (mainly where the site will be hosted from).

    I'd say just upload it to one of them and do it that way to save time. Apache gives you 100% control though, although you'll need to set firewall rules on your router for redirects and blocking some traffic, which isn't terribly difficult, just time consuming.

    I usually use 000webhost if I want to throw something up for others to look at, plus they give you a free subdomain to use on their site (or add your own if you purchased a domain).

    It's a shame Dropbox killed their hosting folder (think it was called public), literally made this thing super easy.

  • You don't need anything as complicated as Apache. It's a real pain to get up and running especially when you just want it as a simple server.

    If you have a mac or a windows box with python you can do this:

    http://www.linuxjournal.com/content/tec ... ver-python

    $ cd /home/somedir

    $ python -m SimpleHTTPServer

    Or you can just install node.js and npm install http-server and you are good to go with very minimal / no config needed https://www.npmjs.com/package/http-server

    (step by step https://www.npmjs.com/package/http-server/tutorial )

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)