Ashley's Recent Forum Activity

  • Closing, please follow the bug report guidelines or we cannot help.

  • I can reproduce, but this does not appear to be a regression and we're due a stable release, so I will postpone a fix until the next beta cycle.

  • I can reproduce, but it doesn't appear to be a regression so I won't do anything before the next stable release which is due soon.

    However I'm not sure it's really a problem in practice: it fires 'On start of layout' to switch to the correct layout just before actually loading the savegame state, so anything the 'On start of layout' event does should be reverted by the subsequent loading. Is this a problem for a real-world project of yours?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing, please make sure your bug reports are reproducible (this means including the video file you used - I cannot reproduce what you are doing without it)

  • Sorry, there's not much we can do about reports like this. Firstly it sounds like a graphics driver bug, so check your drivers are up to date. Also the longer you leave a bug report, the harder it is to resolve - r153 was well over a year ago and it makes it hard to know what kind of changes could have impacted this. If you definitely have the latest drivers, I'd recommend reporting the problem to your graphics vendor. If you have a dual-GPU laptop, it may be worth using the control panel to try setting C2 to use the other GPU.

  • OR blocks actually pick instances that met any of the conditions. The | operator is simply a logical OR that returns 0 or 1, based on if either operand was true (nonzero). So if you have "health = 7|8", then 7|8 is evaluated as "true OR true", which results in true, which C2 represents as 1, so it's the same as saying "health = 1" which probably wasn't what you intended!

  • As far as I can recall, I don't think plugins had control over that kind of capability.

  • This is an advance notice of something which is likely to eventually happen in the long term (probably at least 6 months away).

    The C2 runtime ships with jQuery. In 2015, this is really no longer necessary. The browser DOM APIs have very good standards compliance and consistency across platforms, meaning you can often simply make direct DOM calls instead. See http://youmightnotneedjquery.com/ for lots of good examples.

    jQuery is also slow. We've worked to minimise the performance overhead of using jQuery in the runtime, but it's still a very easy way to do something expensive per-frame and that will cause a significant CPU usage increase, and is especially taxing on mobile. Direct DOM calls are sometimes cheaper than equivalent jQuery calls, and can be easier to optimise (e.g. eliminating redundant calls). I am of the opinion that these days jQuery has no place in a high-performance game engine.

    Removing jQuery also reduces the download size and complexity of the C2 engine. Removing it could actually improve compatibility in some cases, since we support some platforms which jQuery was not designed for and therefore causes problems.

    So while nothing is likely to happen for a while, please do not write any new plugins that make jQuery calls, since it may be difficult to update when we eventually remove jQuery. Also if it is feasible, please consider removing any use of jQuery from existing plugins.

    We may have a compatibility fallback where jQuery is included only if the project uses plugins that need it, but this cancels out all the above advantages of removing jQuery, so even if that happens it is still best to remove jQuery where possible.

  • As far as I can remember, Classic *does* correctly cull everything outside the viewport, even when zooming. I can't remember how its letterbox implementation works, it might just overdraw black bars (FWIW Construct 2 does a proper letterbox and only draws visible content)

    If by "some systems" you mean integrated GPUs like Intel HD graphics, then you're probably running in to fillrate limits (i.e. the memory write bandwidth of the hardware), which is especially problematic at high resolutions. I honestly can't remember how Classic works in this regard any more, but if it has an equivalent to C2's 'Low quality fullscreen mode' where it renders the game small then just stretches the result up to the screen, then use that. C2 should soon be getting a front-to-back renderer mode as well which could significantly reduce fillrate and end up making C2's GPU performance better than Classic's! But there is very little hope of Classic getting that.

  • There are loads of third party services out there that could be integrated, and it's impractical for us to implement them all ourselves - we would end up spending all day every day integrating other people's services and never get any actual work done. Construct 2 has a Javascript SDK specifically so third party services can integrate support themselves without needing to involve us at all. So if Tapjoy works with HTML5 (and it's not clear from their site that they actually do support this) they should easily be able to add support themselves, as should any other third party service.

  • You should use the Cordova export for Android-based apps using a webview, not the HTML5 export (which is designed for websites). Cordova already does all of that as well, so you only need to build it - no need to write the webview integration yourself.

  • No, it's bundling the entire Chromium browser engine with your game. Android 5.0+ is gradually gaining market share and once that reaches a majority then you can use that to get the same results without the file size overhead.

Ashley's avatar

Ashley

Online Now
Early Adopter

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

Twitter
Ashley has 1,834,038 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