Ashley's Forum Posts

  • The second event, if enabled, stacks up multiple analyser effects at a rate of 60 times a second. There's absolutely no reason to do that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Moved from Bugs to 'How do I', please see the bug report guidelines for posting in the Bugs forum.

  • Moved from bugs to "How to I" since this sounds more like a question.

  • Boxels - possibly, could you try it and see?

  • So I've tested the .capx that I was privately sent by So far it's been running ~35 minutes with no issues. I'm testing an iPad Air 2 with latest iOS 10.3, WKWebView enabled and built via PhoneGap Build with latest Cordova.

    The only place I can find an error message close to what has been reported is in cordova-plugin-httpd, which has an error message string matching "server is already up". This is slightly different to the OP, can you confirm the actual error message matches?

    If so, it's pretty mysterious - that error can only appear when starting the HTTP server, and it is definitely started once only when the game starts. It's also not at all involved in audio playback. The HTTP server exists only to serve video playback in WKWebView. Audio playback is still routed through cordova-plugin-file even in WKWebView mode, which AFAIK reads files directly from storage without using any kind of server. There's also no reason the HTTP server for video playback would ever be re-started.

    My best theory is the app is actually trying to restart and it tries to restart the server when it's already running. Perhaps some of you are trying to use the Browser 'reload' action instead of changing layouts to restart? Or maybe some kind of page-level navigation? Alternatively maybe another app on the device is trying to run a server or something like that? I'm really at a loss as to how this could be happening.

    One thing you can try if this still affects you: before building the exported cordova files, open config.xml and delete the line that says:

    <plugin name="cordova-plugin-httpd" />

    This simply removes the HTTP server from the app. It will break video playback, but the runtime should be able to handle the server not being available as long as you don't try to play video. If that fixes it, it proves the HTTP server is causing the problem, but I would still be mystified as to why.

  • Closing as won't fix. Using two 'Wait' actions adds an extra tick wait in between the two actions, by design.

  • The bug report guidelines also cover that. Please read them.

  • There's no clear answer to your question: 5 events could be slower, the same or faster than 10 events. It depends on too many things. The only thing that matters, and the only thing you should ever do, is make actual measurements. If you don't make measurements, you're just making things up.

  • Well, I think it's clear it's not a problem with C2 anyway - if it's fast in one browser but slow in another, it generally means our code is fine and something in the browser is slow in that case. It also seems better in the latest Edge 15. So closing this report for now.

  • Alright, I added a "fake clipboard" for r20. It just remembers the last thing you copied and enables "Paste" menu options based on that. Obviously it's not a real clipboard, so you can't do things like paste between editors, nor will copying something unrelated remove the "paste" options (which will keep pasting the last thing you copied within C3). However it means within the same C3 window you can use copy-and-paste via the menus.

    I'm slightly concerned this "not actually a real paste" feature could also be a gotcha for some people later down the line, but I do agree it's a basic feature and there should be some provision for it.

  • Is NW.js v0.21.1 (based on Chrome 57) affected?

  • Works fine for me here in preview mode with NW.js and Chrome 57.

    Are you sure WebGL is enabled at runtime? Try displaying a text object set to the expression 'renderer'. If your system does not support WebGL, it won't display WebGL effects.

  • It's not a bug. The sound is longer than 1 second, so every time you run the action, it also rewinds all previous sounds back to 0.4 seconds because they all have the same tag, so you end up stacking up every sound that has been played so far on top of each other.

  • Closing, please see the bug report guidelines.