Ashley's Forum Posts

  • I'm just updating the docs after release. The main class is IWebGLText. I should have updated the SDK download with a sample plugin shortly as well.

  • No, obviously it's not normal for that to happen. Whenever C3 crashes it sends a report to our server (unless you use ad/tracking blockers) where it is logged, and we periodically review crash reports and try to fix them. We prioritise the most common crashes first. This means in many cases we can fix crashes without anyone needing to report a bug. However this process is not guaranteed so you might want to try to find the exact circumstances that causes the issue and then file a bug for us to investigate. You could also share some of the crash messages you've already encountered so we can check them.

  • Events run synchronously. You cannot use promises in expressions since Construct checks the return value immediately after the function returns. Your expression kicks off a promise which runs asynchronously but the resolve value is never used by anything.

    You've already found the solution - use the same model as AJAX where actions kick off asynchronous work and then fires triggers upon completion.

  • Normally you can just click the "Copy" button on the dialog and it will work. However you can work around it by enabling "Use in-app clipboard" in Settings. This doesn't actually copy data to the clipboard, so it only works copy-pasting things within the same C3 window, but it avoids the prompts.

  • Are you using the latest version of Construct 2? It's basically impossible to help unless you provide all the information required by a bug report.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's built in to Construct 2.

  • Please see the bug report guidelines. It is far, far easier to deal with bug reports if you start with a new empty project and demonstrate the issue there.

  • They're deprecated expressions, so they don't appear in the list, but projects created with them can keep using them.

    The names are weird, IIRC they were only added for debugging purposes! The name refers to the algorithm used for moving along a path. It's implemented as a sort of "chase the rabbit" algorithm, i.e. the object chases a point a short distance ahead on the path.

    TBH since they're not listed the name you choose probably doesn't matter much.

    • Post link icon

    Just prioritize this please Ashley . I've been tweaking OS settings and registry for days now.

    I need example projects and steps to reproduce. I don't have anything other than this event variables edge case to work with or prioritize right now.

    How do you explain W10 taking 1 second to load, while W7 is instant? Let's tackle that first to see if it helps.

    I've no idea. Maybe Win10 added a new feature to dropdowns which has greater performance overhead or something.

    • Post link icon

    1 second with 1000 variables is not bad enough to seem to need fixing. I don't see it taking any amount of time as bad as anyone else reports, especially not 10sec+, so basically this is "can't reproduce".

    There may well be other cases, but what I am trying to tell you is I don't have any way to reproduce those either. I need steps to reproduce and example projects, for each potential slow case. I don't have any right now. All I've got is one edge case with variables that doesn't look particularly bad.

    • Post link icon

    - it takes 1 second to open every time, consistently. It has to fill a dropdown list with 1000 items every time so this is likely why. Rebooting won't affect this (it still has to fill 1000 items), and I doubt it's anything to do with icons. It would only turn to 4-5 seconds if you correspondingly had 4000-5000 global variables, which even the biggest projects ever won't get close to (a huge project would have that many events, not just variables).

    So I don't see how this is a sign of anything more serious. Like I say, this seems like a very specific case, and if that's it, I don't think it's worth optimising (who has 1000 variables in one project, let alone 5000?). I think there are probably other cases that actually need optimising, but like I say, I'll need projects and repro steps for them.

    • Post link icon

    Please be patient. This issue is only about a week old and was filed over the holidays when everyone was out of office.

    I took a look at Slow.capx. It seemed OK to me. I have a high-end machine, but I ran a debug build with optimisations disabled which usually more than cancels out the fact it's a high-end machine; despite that it still opened quickly enough (I'd say ~1 second). After a few quick checks I realised the project has around 1000 global variables and most of the work opening the dialog seems to be filling the dropdown list with 1000 entries.

    So all this report proves so far is "editing actions using event variables is slow if you have 1000+ variables", which is a really specific situation. It sounds like there's some confusion in this thread over what the problem really is. It seems there may be different cases which are also slow, but unless there is a separate report for those, complete with example projects and reproduction steps such as in this case, I don't have anything to work with. So please try to narrow down each individual case; it seems unlikely that everyone here has a project with 1000 global variables and are repeatedly editing actions with variable parameters.

    FYI C2 lazy-creates icons, so the first time you open a dialog it goes and creates thumbnails of the objects in the project. Lazy-creating is important to avoid reaching the 10000 graphics object limit in Windows - it avoids creating icons for things that aren't used or looked at. This would be difficult to change, since if we create icons in advance, it will in some cases unnecessarily use more of the Windows limit. (In C3 we spritesheet icons so, fingers crossed, this should never be a problem ever again in C3.) Anyway, it explains why the first open is sometimes slower, but in a long session only the subsequent opens really matter, so that's what I'd prefer to focus on.

  • The normal function for arrow keys is to move the caret in the text selection, and it would be inconvenient to override that.

  • Apologies for any outage, the meltdown/spectre security issues are causing emergency patching and reboots of servers. We're looking in to it now and checking everything's working OK.