ctceismc's Recent Forum Activity

  • Yes. I have had the case where the app is still functioning but it will not quit. Thanks - I thought maybe I was doing something wrong.

  • Further testing reveals that if you delete the media filenames from the list in the offline.appcache everything works as it should. If you leave those in the list then the iOS web app will not play the sounds anytime after the first loading and the sounds will not play if you reload in iOS Safari. Something is broken with caching the sound files. I don't if it is Construct or iOS but it is definitely broken.

    Strangely if you preview on LAN using the web server built into Construct everything works as it should. If you save this version to the home screen as a web app it works but continually downloads data from the server. What causes this when using preview on LAN? Why is the web app continually hitting the Construct web server?

    I have also found that it is very easy to completely freeze iOS if you close an iOS web app and try to re-open it immediately. Often it requires a forced hard power down of the iOS device. Safari on iOS appears to break easily and crash the whole OS.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/8856086/TouchSound/TouchSound.capx

    dl.dropboxusercontent.com/u/8856086/TouchSound/index.html

    Steps to reproduce:

    1. Play on Mac Safari

    2. Reload 2-3 times on iOS 6.1 Safari

    3.

    Observed result:

    Sounds will not play when sprites touched after reloading on iOS.

    Sounds never play on Mac Safari.

    Expected result:

    Different sound plays when any of 3 sprites on screen touched. This works fine in Chrome even after reload but not on iOS 6.1 Safari after reload.

    Browsers affected:

    Chrome: no

    Mac Safari: yes

    iOS 6.1 Safari: yes

    Operating system & service pack:

    Mac OSX 10.8.4

    Safari 6.0.5

    iOS 6.1 safari

    Construct 2 version:

        R 139

  • I finally found the source of the problem. The sounds quit playing whenever I reload the index.html file. As long as I never reload, the sounds play on my iPhone without problem. If I reload sounds will not play. This is happens for the space demo as well.

    Any idea what might be causing this? Is this a bug or a problem with iOS Safari?

  • Yes I included both the .m4a and .ogg audio files. No matter what I do I cannot get any game made with Construct to play audio in Mac Safari or on iOS. Even the Arcade games do not play sound on Mac Safari or my iPhone 5 using Safari. Any ideas? What could possibly be wrong?

  • I am struggling getting sound to play downloading from a Dropbox site in a Construct game. Does anyone have a simple .capx file known to play a sound properly on Safari Mac and iOS they would be willing to share? My test files all play properly in Chrome on Mac and iOS but not in Safari on either platform. Could Dropbox be the problem? Thanks for any help you can provide. I just need a known working sample to test see what I might be doing wrong.

  • Ok - I made a few mods making the sound playable by either clicking/touching on a sprite or Text object. Just to check that clicks/touches are being received I made the sprite rotate 90 degrees on every click/touch as well. The sound also plays once after layout is loaded initially.

    Now Mac Safari crashes while trying to load the file. Earlier it would not play the sound but did not crash. Once it locked up my iPhone 5 and I had to force power off and restart. Works fine on Chrome.

    Dropbox URL: dl.dropboxusercontent.com/u/8856086/PianoTestWeb/index.html

    Capx: dl.dropboxusercontent.com/u/8856086/PianoTestWeb/G.capx

    Is there some trick I am missing?

  • I spoke too soon. I exported another copy to dropbox and now it doesn't work in Safari anymore. This is really strange. Is Dropbox doing something strange or is something else going on? Is sound so inconsistent on Safari. Sound seems to work in Chrome even when it doesn't work in Safari.

  • hmm...

    I just cleared the cache on the iPhone 5 and reloaded. Everything seems to play as it should. Sorry for the distraction. It's the little things that get you ;-)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have created a very basic sound test project where you click on a large sprite and it plays a sound. The sound plays fine when you load the project and click on the sprite in Chrome but not in Safari or on iOS 6+. I have used the Touch object to capture the click on the sprite and trigger the play sound action. I have tried both preloading and not preloading the sound with no change.

    Here is a link to the full exported project on Dropbox:

    dl.dropboxusercontent.com/u/8856086/PianoTestWeb/index.html

    The audio file alone is downloadable and playable in Mac Safari and iOS 6+:

    dl.dropboxusercontent.com/u/8856086/PianoTestWeb/media/A.m4a

    The .capx file is here:

    dl.dropboxusercontent.com/u/8856086/PianoTestWeb/1Key.capx

    What am I doing wrong?

  • Tap, Thanks for the reply. What I am trying to do is use Construct to control external devices through various native SDKs. As a first step I would like to control a Sphero robotic ball. Using the Sphero native SDK someone has created a Phonegap plugin that I would like to access using Construct. github.com/orbotix/Sphero-Phonegap-SDK

    How might we get this working in Appmobi using Construct?

  • Is it possible to port a phonegap plugin to something that can be used with Appmobi and Construct?

ctceismc's avatar

ctceismc

Early Adopter

Member since 24 Mar, 2012

None one is following ctceismc yet!

Connect with ctceismc

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies