Red loading bar on HTML5 game

Bugs will be moved here once resolved.

Post » Sun Oct 30, 2016 11:37 am

Problem Description
____ Game stops loading at around 10% and turns red.
The game can be found here: http://www.indiexpo.net/en/games/winner ... e-jam-2016
I have other games on the site which work perfectly fine.
____

Attach a Capx
____ http://www.mediafire.com/file/v1g3qbq2i ... e_Jam.capx ____

Description of Capx
____ This is the game the issue is occuring with, the link to where it is happening can be found above. ____

Steps to Reproduce Bug
  • Export html5
  • Zip and upload (I did so to Indiexpo)
  • Red loading bar

Observed Result
____ Red loading bar ____

Expected Result
____ Red loading bar ____

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
____ This happens on all operating systems ____

Construct 2 Version ID
____ R 233 (64 bit) & R 239 (64bit)____


Further information
I have tried removing local storage from project, didn't fix the issue.
Tried removing global from project, didn't fix issue.
Tried uploading the project as another game, didn't fix it.
I have other games on the site which work fine.
B
13
S
3
G
1
Posts: 41
Reputation: 1,468

Post » Sun Oct 30, 2016 11:51 am

according to the chrome console:

Application Cache Error event: Resource fetch failed (4) http://assets.indiexpo.net/html5/2146/images/dalah%C3%A4st_obj-sheet0.png
index.html:1 Access to Image at 'http://www.indiexpo.net/html5/2146/images/dalah%C3%A4st_obj-sheet0.png' from origin 'http://www.indiexpo.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://assets.indiexpo.net' is therefore not allowed access. The response had HTTP status code 404.
c2runtime.js:125 Error loading image 'http://assets.indiexpo.net/html5/2146/images/dalah%C3%A4st_obj-sheet0.png':


If that can be of help for debugging it.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Sun Oct 30, 2016 11:57 am

Try without "¨" in your folder named "Dalahäst_Obj"
Image Image
B
25
S
14
G
137
Posts: 876
Reputation: 71,505

Post » Sun Oct 30, 2016 12:09 pm

Aphrodite wrote:according to the chrome console:

Application Cache Error event: Resource fetch failed (4) http://assets.indiexpo.net/html5/2146/i ... sheet0.png
index.html:1 Access to Image at 'http://www.indiexpo.net/html5/2146/images/dalah%C3%A4st_obj-sheet0.png' from origin 'http://www.indiexpo.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://assets.indiexpo.net' is therefore not allowed access. The response had HTTP status code 404.
c2runtime.js:125 Error loading image 'http://assets.indiexpo.net/html5/2146/images/dalah%C3%A4st_obj-sheet0.png':


If that can be of help for debugging it.


MadSpy wrote:Try without "¨" in your folder named "Dalahäst_Obj"


Thank you both for your wonderful help! The game now works fine!
All that was needed was to change all ä to a!


Devs can go ahed and move this to closed bugs :)
B
13
S
3
G
1
Posts: 41
Reputation: 1,468

Post » Mon Oct 31, 2016 11:23 am

Closing as not a bug.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 8 guests