SparklingAir's Recent Forum Activity

  • $1000

  • Why not make each language have its own layout, then have the player choose the language they want at the beginning of the game.

    I thought about it, but then I will need to manage the 7x8 layouts

  • Can't you lazy load (just load them at the point you first need them) rather than trying to read everything on startup?

    I explained that it occurs very slowly. The file with the text "new game" or "continue" is loaded throught AJAX so slow that it is visible.

    For example loading 8 languages is especially wasteful if the user is only going to use 1!

    Of course I do not use all 8 languages simultaneously. At one moment one language is active.

    But while loading each layout each time in each text object need to load webfonts. Regardless of the language was changed or not. I am about it.

  • Here:

    Sometimes loading a lot of content takes a while!

    My game have 8 languages and big problems with speed of loading them on IOS.

    I'm sure it is impossible to make, but still a chance I'm wrong:

    ?an I load all webfonts into all text objects of all layouts once during the launch of the application or after language changing? Avoiding repetition loading.

    Same with sprites.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, I divide the project into pieces.

  • I don't think so. Sometimes loading a lot of content takes a while!

    But it is fast enough on Android, and unacceptably slow on iOs. The same task.

    Besides, WKWebView improves Javascript performance, but loading files from storage isn't affected by that. So I would not expect to see any performance difference on this test vs. UIWebView. Also, it's possible Android devices have higher-quality storage and better performance for this particular test.

    Could it be that an AJAX object does not work correctly on iOS ? Or the GPU acceleration does not turn due to some reasons, although WebGL is enabled in the project. Because it looks so that all works slowly.

  • Ashley

    I begin to understand ... but is there any workaround? My project uses a massive downloading of files: sprites, texts, fonts (multiple localizations).

  • There was a period when "Use new Intel XDK format" did not work and I have a habit to create a project from scratch and add plug-ins manually. Then there was a period when "Use new Intel XDK format" worked fine, but recently IntelXDK started to swear on some third-party plugins, and I came back to the manual method. Nevertheless, Intel, in theory, should properly configure WkWebView when manually adding it. And working with *.xdk come from the Construct2 also does not give a result. And PhoneGap build too.

  • Behavior of my another project in various technologies:

    iPad:

    https://youtu.be/aDoUBmsMraA

    iPhone:

    https://youtu.be/FoyZgaCYgG0

    Sony:

    https://youtu.be/rKdxqCd5Pc8

    It looks like wkwebview does not switch on. Any actions happens very slowly in all my projects. I could use a stable release 239, but it can't load project files via url that is actively used in the project.

  • Ashley

    For a moment it seemed to me ... but not, unfortunately, you're wrong.

    Any variants of the builds have low performance on iOs. And ok on android.

    1.

    In this step, you remove the files that specify to use WKWebView. So you are effectively disabling WKWebView yourself.

    For the specification of plug-ins is necessary and sufficient config.xml file. I did not delete it. I removed files relating solely to configure IntelXDK project, and created them again in IntelXDK self. Besides the convenience, what's the difference where to create them?

    What about PhoneGap build which does not contain *.xdk in principle?

    By your logic, it is impossible to enable WkWebView through PhoneGap.

    2.

    Via Plugin Management add all the necessary plug-ins including WKWebView, File and Httpd

    In this step i return all information about WkWebView that is contained in *.xdk file from Construct2. This a procedure of adding plug-ins officially recommended by IntelXDK. Could you explain in more detail why the addition of WkWebView such a way must not work?

    3.

    I tried through Construct2 *.xdk file - absolutly same result.

    Opened as a bug:

  • Problem Description

    PhoneGap, Intel XDK 3759, Cordova CLI any 6.2.0 or 5.4.1, export to iOs 9 with WKWebView

    behaves like WKWebView is not present at all.

    Attach a Capx

    https://drive.google.com/file/d/0B14pUO ... tycG8/view

    Description of Capx

    One layout with 8 sprites and 8 text objects.

    On layout start ->

    project file "plank1.png" is loaded into the sprites

    project file "text.txt" is loaded into the texts

    Every 2 seconds layout restarted

    Steps to Reproduce Bug

    • Export from Construct with enabled WKWebView option
    • Opened Intel XDK projects
    • Export to iOs
    • Run in sandbox mode on iphone 6 or ipad 3 with ios 9

    Observed Result

    On every layout restart, noticeably slow loading project files

    Expected Result

    Invisibly fast loading of files like in android with standart Webview

    Affected Browsers

    • Safari: problem occurs
    • Chrome: all ok

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    241 beta

  • Hi all!

    Do preloading interstitial ad affect performance? How often to do it?

SparklingAir's avatar

SparklingAir

Member since 20 Aug, 2015

None one is following SparklingAir yet!

Connect with SparklingAir

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies