Chadori's Recent Forum Activity

  • Yeah, using the webview for games is a big handicap. Even the simplest of games can lag, especially since worker mode isn't supported in the webivew.

    We have like 3 issues:

    1. Browsers are extremely slow on mobile.

    2. Event sheet's overhead.

    3. Stutters, I'm guessing from no worker mode.

    Since #3 might get supported in the future, that's probably not a hopeless issue. #2 can be ignored if #1 hopefully gets better.

    Although, in my opinion, it's not Construct 3's fault, I'm surprised how efficient the runtime is, given the handicap.

    But yeah, we're stuck with browser limits. Even Cocoon.io gave up. 😅

    I think the Webview is more suited for simple games that doesn't do anything much.

    Perhaps we overestimated the engine's performance? Might be more practical to target simpler games?

    Although, I would appreciate if the Construct Team did something to finally solve this issue. 🙂

  • Yeah, using the built-in Scripting feature.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • That depends on how deep you want to go, the high level is just to use the Math object in JavaScript. Click to view the documentation reference.

  • Also, if you have issues with the latest Mobile Master IAP, kindly email support@constructcollection.com or visit the Discord Community. It has new changes so it's on careful watch.

    Thank you.

  • Release 10.5 - Important Patch

    Important changes are incorporated in this new update, most notably the iOS 14 support for the Mobile IronSource Collection and the support for the new script minifier, hence will allow export with Advanced Minification.

    Thank you!

  • Oh right. Thanks, I just realized, that makes it easier.

  • Hi,

    For addon developers, it seems calling anything global likeC3 is causing issues. So scripts like this.Trigger(C3.Plugins.Sprite.Cnds.OnAnimFinished) wouldn't work anymore.

    But, the Addon SDK says otherwise.

    Kindly advise. Thank you.

  • Best guess is that you've ran into an event that causes an infinite loop. As to how it only happens without worker mode is hard to say. Can you provide more info?

  • Yeah, but you might want to put it into a JS Script in the Scripts folder. I have a hunch that there it doesn't run every tick.

  • Have you tried apps like Google Chrome, Discord, Gmail or Youtube? By default, it closes upon clicking the back button. I think this is by default.

    Although, other apps override this, in theory adding the script below should prevent closing.

    document.addEventListener("backbutton", onBackKeyDown, false);
    
    function onBackKeyDown() {
     // Handle the back button
    }

    Not sure how the Browser - On back button is written that it doesn't override. You can try filing a bug report. Or, just use the script above that I pasted.

  • I think it's meant to do that by default. At least with latest Android devices.

Chadori's avatar

Chadori

Member since 10 Oct, 2014

Twitter
Chadori has 50 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

24/44
How to earn trophies