Ashley's Recent Forum Activity

  • It's by design that when the browser is minimised or goes in to the background, the game suspends entirely. This is to prevent unnecessary resource/battery drain. Generally you should not attempt to work around it, because you will cause unnecessary resource/battery drain on the user's system.

  • The main problem with older Android devices is they have buggy graphics drivers that crash the system, so browsers have to turn off GPU accelerated rendering to avoid crashing. Then you end up with a slower software renderer. It's more of an Android problem than with C2 or Crosswalk, because the drivers need to be fixed... you can force it to use GPU rendering, but then you risk crashing the system (to the extent you have to pull the battery out and reinsert it for it to work - then think about people with phones with a sealed-in battery...!)

    Newer devices should be fine.

  • You do not have permission to view this post

    • Post link icon

    McKack - I'm a bit dubious about solutions involving tweaking Chromium command line parameters. Since I don't think they're defaults, sometimes they are unmaintained codepaths, and if you run in to bugs in them Google may refuse to fix them since they're not intended to be used in production. They might also just rip out all the code and remove the option at some point, to keep their codebase simpler. Notice how chrome://flags warns you "These experimental features may change, break or disappear at any time. We make absolutely no guarantees about what may happen if you turn one of these experiments on".

    The best solution would be to contact Steam and to figure out how to get their overlay to display correctly with the default settings.

  • Turning off alpha is a performance optimisation, which apparently can make a difference to fillrate-limited devices. It means the backing canvas doesn't have an alpha channel so the alpha components don't need to be filled or processed or composited to the screen. On platforms where there is typically nothing that can appear behind the canvas then the runtime sets this mode to allow the browser to optimise it if possible. This isn't limited to node-webkit - it's also used on Windows Store, Crosswalk and PhoneGap apps for the same reason.

    I guess your plugin needs to force alpha enabled on all platforms, but I don't want to just turn it off completely since that could de-optimise it even when unnecessary. So for the next build (in r188) I added a flag in the runtime you can use to force alpha mode enabled: set runtime.forceCanvasAlpha to true. You have to set that in the plugin or type constructor, since by the time you get to an instance's constructor/onCreate it's already read the value to initialise the renderer.

  • We don't actually support CocoonJS officially any more. I'd recommend going with Crosswalk and PhoneGap for iOS 8+ - Crosswalk is updated every 6 weeks or so, so if you're waiting for any particular issue to be fixed then you won't have to wait long. And as a sign of how quickly iOS updates happen it's already up to 56% since you saw your 47% number, and that's about two months after release - so again, shortly it will be the vast majority of devices.

  • alemar - see the bug report I linked to earlier, Microsoft need to fix it.

  • It turns out this is a bug in Safari. I reported it to Apple here: https://bugs.webkit.org/show_bug.cgi?id=138506

    It affects both Safari on iOS and Safari on OS X. The workaround is to delete offline.appcache and remove the manifest="offline.appcache" from the <html> tag in index.html. However that in turn breaks offline support, which could be a problem if you want to support 'add to home screen'.

    It does not affect platforms other than the Safari browser, so it should be OK in PhoneGap or Ejecta.

  • Just for the information of others in this thread: I was sent a .capx that demonstrated the problem and I've got a fix for the next beta (r188). Hopefully that will resolve it!

  • Closing as not a bug, use what zenox98 suggested. PhoenixNightly please also always follow the bug report guidelines, a report like this should include the exact steps you followed (such as the particular part of the UI you are using to import the image) as well as attaching the .gif file you are trying to import. I'd also recommend not using gifs, they're an ancient lossy format from the mid 90s

  • Can't reproduce, works here. Please check your graphics drivers are up to date and always follow the bug report guidelines. Closing.

  • All reports not following the guidelines are closed without investigation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 27 Oct, 2026

Twitter
Ashley has 1,835,028 followers

Connect with Ashley

Trophy Case

  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x6
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x44
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs