Does music not work on "Add to Homescreen" in Safari iOS?

Get help using Construct 2

Post » Wed Nov 26, 2014 10:30 pm

I'm having a bit of a multifaceted issue with developing a mobile game. Currently I'm testing on Safari in iOS because all I have is an iPhone to test. Anyway, being an iOS game, the game uses the Touch behavior. However, any time I touch the screen to do something in-game, the address bar pops in, obstructing the game (I have the fullscreen setting on "letterbox scale" but the address bar doesn't seem to resize the game).
As such, I've resigned to adding the game onto my homescreen using Safari's "add to homescreen" feature. However, when I do that, it doesn't load any Music (though Sounds still plays). Music plays as intended in Safari, just not when the website is added to the home screen.

There's got to be a better way to handle fullscreen landscape games in iOS. Is there nothing I can do to hide the address bar in landscape mode?
Also, does anyone have any advice for publishing to mobile? I'm concerned about this fullscreen thing hindering my game's success.
B
19
S
5
G
1
Posts: 96
Reputation: 2,710

Post » Thu Nov 27, 2014 6:06 pm

Anyone able to help?
B
19
S
5
G
1
Posts: 96
Reputation: 2,710

Post » Fri Nov 28, 2014 1:43 pm

It's a bug in Safari: https://bugs.webkit.org/show_bug.cgi?id=138506

The workaround is to remove the offline.appcache file, but that in turn breaks offline support, which is nice to have especially when adding to the home screen...
Scirra Founder
B
398
S
236
G
88
Posts: 24,433
Reputation: 194,635


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Kin and 34 guests