Asmodean's Forum Posts

  • Use PCM .wav files and let construct do the conversation.

    https://www.scirra.com/manual/52/import-audio

  • In Chrome I have only a entry in local storage and session storage with WebStorage 'Set local', 'Set session'. The indexedDB is empty.

  • [quote:636m4ysp]

    What makes you believe that ?

    It uses browser storage. In the absolute, web and local storage store infos at the same place in the browser (not the cache, the storage, a dedicated space for those infos thanks to HTML5 specs).

    It all uses the storage of the browser ,but it uses different kind to store the data. LocalStorage uses the IndexedDB, WebStorage uses local storage and session storage.

    [quote:636m4ysp]

    Moreover, it shouldn't solve the problem of storage files being cleared by the OS.

    I don't think using webstorage would help with the issue at hands.

    I found out that iOS 8 and 9 has bugs in IndexedDB and WebSQL. So my suggestion was to try WebStorage, because I didn't find a bug report about local storage on iOS 9. I only suggest that he could try, I didn't say that is would fix the problem.

    [quote:636m4ysp]

    If you could somehow create files on the system and read them, that could be something considered, but I doubt this will be an easy treat, especially on Apple device.

    Shaming them for their awful software and asking them to comply better with HTML5 specs could be the only solution around.

    But they don't seem to care a lot as per they slow release cycle which goes on breaking previous features.

    It is a shame, the bugs are quite old. But it looks Apple don't care about.

  • I never tried it, but I don't think that makes a problem, because WebStorage and LocalStorage uses different places to store their data.

    But be careful, session storage from WebStorage only lasts with the current browser session, you have to use local storage from WebStorage.

    https://www.scirra.com/manual/120/webstorage

  • I think WebStorage is only deprecated because of the Google Play Store. WebStorage uses the real Local Storage or Session Storage as far as I know.

  • RBuster

    'Local Storage' in Construct uses IndexedDB and it seem iOS has still some problems with it:

    https://gist.github.com/nolanlawson/08e ... 17a30c1b26

    Have you tried the deprecated WebStorage? Maybe that works.

  • Have a look at this example from Ashley:

  • Thanks What Android-Version is running on your device?

  • That should only confirm that this is a bug with chrome and Android. Does it work on Andorid FireFox and doesn't on Andorid Chrome?

  • There is/was a bug in Android 4.4.x that some devices has problems with Videos and Chrome. Don't know if this is even an older bug.

    Can you try https://goo.gl/pVJd10 on you Android Device with Chrome and FireFox? It should play fine in FireFox and don't play in Chrome, only Audio. You have to tap once to start the video, the button is only for fullscreen, that was a test if it works in fullscreen,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dhens09 Let me take a guess. Your device has Android 4.4?

  • Yes, its possible. The easiest is to use 'Pick nth Instance .'

    System| Every 1.5 seconds
        local static number x=0
        System| Pick kanobär instance x -> System| Create object Fireball on .....
                                        -> System| Add 1 to x
       
        System| x>= kanobär.count       ->System| Set x to 0
    [/code:14alquwr]
    
    You don't have to use a local static variable you could also use a global
  • For each as subevent after 'System| every 1.0 seconds' or you could use instead of 'System| create object', 'Kanobär|Spawn Fireball ...', but then all of your sprites will fire at the same time.

    If you don't want that use 'System| Pick a random instance -> System| Create object...' as subevent after 'System| every 1.0 seconds', that will randomly choose an instance that fire a fireball.

  • For a 1-Dimension Array with values in the x-axes

    Array| for each X element.
          System|array.CurValue >=1      -> Do something. 
          System|array.CurValue <=30[/code:3scnf0xp]
  • In System ,compare two values. Make two events x>=1 and x<=30.