IE load problem

Discussion and feedback on Construct 2

Post » Sat Jul 26, 2014 1:43 pm

I have problem with game loading on IE. On Chrome/Firefox/Opera my game works great. But I have problem on IE.

When I running game from construct2 with Preview Browser game loads on IE with out problem, but after exporting on server game loading stops on first load screen (with construct2 logo ~ 25 % is loaded ). I see form IE console that c2runetime was downloaded with asset for my custom loading screen and most of m4a files. (I've added mimetypes to sever configuration) so in logs it looks like this:

URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
/media/enemydie10.m4a HTTP GET 200 audio/mp4 8.27 KB 406 ms 2028 344 62 0 0 655

Some sound files have strange status code:
URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
/media/enemydie6.m4a HTTP GET (Aborted) 0 B 484 ms 2028 437 47 0 0 577
/media/lightningshoot.m4a HTTP GET 206 audio/mp4 14.70 KB 421 ms 2247 359 31 31 0 421
/media/visshoot.m4a HTTP GET 0 0 B 437 ms 2247 359 46 32 0 405

How do you think where is the problem audio files or maybe custom loader problem because c2 doesn't switch to custom loader. ?? Console doesn't show any Error loading stops and custom loader is not showed.

Edit:
This is not a problem with custom loader because I've turned it off and game still stuck on stock loading bar. Now ~80 % because withoust custom loader all gfx assets was downloaded. Bar is not red so this is not a problem with lack of assets. It looks like it doesn't change to first layout.
Last edited by Sventevith on Wed Sep 10, 2014 9:35 am, edited 2 times in total.
B
9
S
2
G
1
Posts: 53
Reputation: 748

Post » Sat Jul 26, 2014 4:19 pm

The problem is with sound when I removed all sounds from project games load with out problem with custom loader. Do you know why loading sound stops everything ?
B
9
S
2
G
1
Posts: 53
Reputation: 748

Post » Sat Jul 26, 2014 7:00 pm

Must... resist.. trolling IE.
B
8
S
1
Posts: 62
Reputation: 1,212

Post » Sat Jul 26, 2014 7:05 pm

that is strange, recently C2 forced downloading sounds, there may be problems with it, you should be able to turn the settings off in the project proprieties for now, if that does the trick, then a bug could be the cause.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Mon Jul 28, 2014 10:01 am

@Aphrodite you are correct. Thank you, I've missed this new functionality.

Preload sounds is a problem. Some sounds are corrupted like this one:
visshoot.m4a HTTP GET 0 0 B 437 ms 2247 359 46 32 0 405

When I've turned off preload game has been loaded without problem but some sounds are missing (don't play). I don't know why because on server size is ok not 0 like information from IE console (look above) and in cosntruct2 I'm able to play this sound after conversion. Probably this is problem with tool which is responsible for sound conversion because my source format is wav and C2 just converts sounds to ogg or m4a.

Do you have problem wit sound conversion ?? How can I resolve this problem maybe some third party audio converter will resolve this problem. Do you have any idea ?
B
9
S
2
G
1
Posts: 53
Reputation: 748

Post » Mon Jul 28, 2014 10:06 am

I have no idea why some would play while others don't
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Fri Aug 15, 2014 3:22 pm

I'm having a similar problem with the sounds, if I turn on the new preload sounds feature, the game don't load in IE and apple devices, I think it may be a bug...
B
13
S
2
G
1
Posts: 37
Reputation: 913

Post » Mon Aug 25, 2014 7:47 pm

Thnik is very strange because some sound which are not ok when I'am trying load game from server are ok when I run layout from constrcut2.

So it look like some problem with server but why som sounds are ok and other not ?

Do you have any idea ?
B
9
S
2
G
1
Posts: 53
Reputation: 748

Post » Mon Aug 25, 2014 9:13 pm

Please first make sure that your server has the correct MIME types set up. If it does, and you are using r178, please post a bug report.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Mon Aug 25, 2014 11:23 pm

@Ashley
Game was exported using r178. MIME types are correct because for example music works. I've had problem with one of music track but after re-encoding to higher bit rate it works. I've tried to re-encode sounds but it didn't help and sound doesn't play. For me it is critical, missing sound impacts game logic because I use is Tag playing.

Difference between working music and sound which doesn't works is in the request I think:

For music:
URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
/media/menu.m4a HTTP GET 200 audio/mp4 306 B 78 ms 216202 31 47 0 0 677029
/media/menu.m4a HTTP GET 0 0 B 78 ms 216280 0 47 31 0 676951
/media/menu.m4a HTTP GET 200 audio/mp4 0.77 MB 1.84 s 216358 47 31 1763 0 675110

last request details is:
Key Value
Request GET /media/menu.m4a HTTP/1.1
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Accept */*
GetContentFeatures.DLNA.ORG 1
Pragma getIfoFileURI.dlna.org
Accept-Language pl-PL
Accept-Encoding gzip, deflate
Host 44.wz32.net
DNT 1
Connection Keep-Alive
Cache-Control no-cache


For Sound:
URL Protocol Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
/media/mp40breechpullrelease.m4a HTTP GET (Aborted) 0 B 249 ms 262753 218 31 0 0 630307
/media/mp40breechpullrelease.m4a HTTP GET 206 audio/mp4 5.81 KB 281 ms 263002 0 266 15 0 630026

Request/response details for last one are:
Key Value
Request GET /media/mp40breechpullrelease.m4a HTTP/1.1
Accept */*
Range bytes=0-
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
GetContentFeatures.DLNA.ORG 1
Pragma getIfoFileURI.dlna.org
Accept-Language pl-PL
Accept-Encoding gzip, deflate
Host 44.wz32.net
DNT 1
Connection Keep-Alive
Cache-Control no-cache

Key Value
Response HTTP/1.1 206 Partial Content
Date Mon, 25 Aug 2014 22:47:56 GMT
Server Apache/2
Last-Modified Mon, 25 Aug 2014 22:10:05 GMT
ETag "1a60403-309d-5017b72fb4dfb"
Accept-Ranges bytes
Vary User-Agent
Content-Range bytes 0-12072/12073
Keep-Alive timeout=1, max=100
Connection Keep-Alive
Content-Type audio/mp4
Content-Length 12,073

For sound we have Range bytes=0- attribute and server return only partial result STATUS - 206. Maybe this is the issue ...
Last edited by Sventevith on Wed Sep 10, 2014 9:36 am, edited 2 times in total.
B
9
S
2
G
1
Posts: 53
Reputation: 748

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Unconnected and 5 guests