matrixreal's Recent Forum Activity

  • This should work to stretch the sprite to fullscreen:

    set width = viewportright(0)-viewportleft(0)

    set height = viewportbottom(0)-viewporttop(0)

    Hi,

    this is working for width but not for height

    any advice please ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > New Update

    • bug fix
    • add new skins
    • manual skins selection (no need to tap the specific skin name)
    • add sound effects
    • update to cordova ios 4
    • fix retina bad quality

    will be happy about your feed-back

  • Ashley

    the problem is in c2runtime because :

    cordova ios 3.9.2 > black screen using this plugin (https://github.com/Telerik-Verified-Plugins/WKWebView)

    and i solved it by changing the line 3454 in c2runtime.js to this.isWKWebView = false;

    cordova 4.1.0 > black screen using this plugin https://github.com/apache/cordova-plugi ... iew-engine

    but still same with / without changing the line

  • Ashley

    1) using the cordova cli 3.9.2 and the wkwebview plugin (https://github.com/Telerik-Verified-Plugins/WKWebView) i got the black screen

    i solved it by changing the line 3454 in c2runtime.js to this.isWKWebView = false;

    2) using cordova cli 4.X.X and the official webview plugin (https://github.com/apache/cordova-plugi ... iew-engine)

    i got black screen with / without changes

    any idea please ?

  • Mobile browsers have never supported preload for audio/video, ostensibly to save bandwidth on cellular data connections (but they still do this on wifi etc anyway). This exacerbates the fact you can only start playback in a touch, since it will have to start loading the track from scratch in the touch. Most browsers don't support seamless audio playback either. The workaround to all of this is to treat it as sound, but then playback won't begin until it's fully decoded and decompressed the track in memory.

    These are the only options available in mobile browsers I'm afraid. I've argued a lot against the browser restrictions for music (played with the <audio> tag) pointing out you can work around every restriction, albeit inefficiently, with the Web Audio API, but they've never changed it...

    are you sure ?

    cause i did done the preload on mobile (ejecta/cordova cli) on both android and ios by executing the javascript call (browser plugin) using these scripts (for example music.m4a)

    to preload

    var music1 = new Audio();

    music1.preload = 'auto';

    music1.src = 'media/music.m4a';

    to play

    music1.play();

  • matrixreal do you have the latest C2 r224? There is an iOS performance boost implemented https://www.scirra.com/construct2/releases/r224

    yes i see it ... do we need to add any plugin to phogab / corova cli project ?

  • Hi,

    i hope that they will do something for ios cause the performance still bad

  • NO

    the problem is that appodeal plugin use same dependicies (PhoneGap-GooglePlayServices) as the cranberry game plugin so it create a conflit and the build fail

    i think it's part of cranberry to solve or adapt/use the appodeal PhoneGabPlayServices)

  • Hi,

    even if it work and not crash ... what i don't understand is that when we use admob banner the app is going laggy and fsp drop

  • Hi,

    any solution about this problem ?

    because converting sound to lower khz giving bad quality sound

  • > Hi,

    > i have exactly ... the same problem on ios

    > related post

    > i was thinking about set the size of the iframe to the avalaible screen and set x to centrate ... but fail

    >

    Why do you ask a question about setting the height and width of an image when you mean using iFrame and specifically iFrame on iOS?

    You must understand that asking the wrong question will not give you the right answer..

    (When you ask how to make chocolate milk, nobody in their right mind will think of telling you how to make strawberry-icecream)

    you get reason

    but i was thinking that setting size of an image is same like other set size action of different object ... that's why

  • Hi,

    i have exactly ... the same problem on ios

    related post

    i was thinking about set the size of the iframe to the avalaible screen and set x to centrate ... but fail

matrixreal's avatar

matrixreal

Member since 2 Mar, 2014

Twitter
matrixreal has 4 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Email Verified

Progress

14/44
How to earn trophies