How to run the project directly from disk?

Ideas and discussion about publishing and distributing your games

Post » Tue Aug 12, 2014 5:19 pm

There is the possibility to execute the project from disk after it has been exported? If anyone knows any method help me please.
B
5
Posts: 12
Reputation: 245

Post » Thu Aug 14, 2014 12:43 pm

exported to what platform?
Image Image Image
B
43
S
22
G
15
Posts: 383
Reputation: 12,262

Post » Thu Aug 14, 2014 2:32 pm

@mercuryus I exported as HTML5, Android, Phonegap, Intel AGI, Chrome Web Store. The ideal platform for me is Android, but if you know how to run the project from disk on any other platform will also help me.
B
5
Posts: 12
Reputation: 245

Post » Sun Aug 17, 2014 5:14 pm

If you export to HTML5 you find a index.html file (the default start file with HTML), just open it (with an internet explorer).
If you dislike the warning remove this lines from index.html (works with simple projects):
Code: Select all
   <script>
   // Issue a warning if trying to preview an exported project on disk.
   (function(){
      // Check for running exported on file protocol
      if (window.location.protocol.substr(0, 4) === "file")
      {
         alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
      }
   })();
   </script>


for Android, Phonegap, Intel AGI, Chrome Web Store it's more work. Please refer to the tutorials at scirra.com for detailed informations...

[edit]
If you like to have a non-html-version use the Node-Webkit (you'll get an executable file).
Image Image Image
B
43
S
22
G
15
Posts: 383
Reputation: 12,262

Post » Mon Aug 18, 2014 11:22 am

I noticed that for me, even removing the file:// checking script doesnt help with CHROMIUM browsers. But with Firefox, it works fine.
B
9
S
3
Posts: 55
Reputation: 767


Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 0 guests