Ashley's Recent Forum Activity

  • The fact canvas+ (and really all non-browser engines) lacks so many features far outweighs any performance difference. Web Audio, form controls, XML parsing, standard-compliant inputs, sometimes even letterbox fullscreen, the list goes on and on. Fast and broken is worse than slower and working. If you can delete features to make something faster, it's not particularly useful if you need the features that got deleted. Note that (at least in the past I saw) it has other problems that come in to play as you increase the scale of your game, such as lacking the memory management that browsers have, so games tend to crash due to running out of memory where they would work in a real browser engine.

    We deprecated non-browser engines a long time ago and I firmly believe no C2 users should use them, even if they're faster in some cases.

    Modern webviews don't have any file size overhead. For example on Android if you target 5.0+, the APK is small compared to the size including Crosswalk. By the end of the year Android 5.0+ should be on the vast majority of devices. It's already at about 2/3rds worldwide.

  • Why not increase the scale of your game?

    If we made a new behavior every time someone wanted it to be slightly different, we'd end up with 10 versions of the same behavior, and beginners in particular would have no idea why they're even there.

  • Can't you lazy load (just load them at the point you first need them) rather than trying to read everything on startup? For example loading 8 languages is especially wasteful if the user is only going to use 1!

  • This is a closed bug report. Please file a new bug report following all the guidelines if you still have issues.

  • There is always a performance difference between OSs, versions of the same OS, and different hardware.

    AJAX works properly, since your example functions correctly.

    GPU acceleration has no effect on this, since loading something from disk doesn't involve any rendering.

    You can mitigate slow loading with the usual techniques: load less, lazy-load (only load it the first time you need it), find another way of storing/loading data, etc.

  • The original bug report used 8 direction right? The platform behavior does make special provision for moving platforms, and has a clearer main axis of left & right with jumping. In that case moving solids may work better. For example if a wall is moving right, the push-out-of-solid algorithms should know to push you right, rather than 8 direction which can choose any direction. Really it depends on the particular behavior and circumstances.

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes. The bug report guidelines describe what to do.

    • Post link icon

    Turns out I just configured it wrong. The latest greenworks does work with 0.19.4! So, updated with a new version of the C2 plugin - see the original post for link & new instructions.

    I released NW.js 0.19.4 for this Greenworks update too, since you tend to have to exactly version-match everything or it doesn't work. You can download it now from https://www.scirra.com/nwjs

    Also note as of this update, there's a new sdkencryptedappticket library you need to add for it to work. The instructions in the original post have been updated to cover this. It's basically just another DLL you have to copy over.

  • Are there any devices still in wide use that have a 640x360 display? That seems tiny. The lowest I've seen lately is 1280x720. Given most mobile and desktop displays have resolutions in the same ballpark, it doesn't seem necessary to treat them any differently.

  • I did a WKWebView iOS build with PhoneGap Build and it was perfectly fast on an iPad Air 2 running iOS 10.2. It loaded within a few hundred milliseconds. It wasn't instant, but that's definitely reasonable performance.

    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.

    • Post link icon

    Ergh, I can't get it to work: https://github.com/greenheartgames/greenworks/issues/118

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,776,368 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
  • x5
    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
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs