Ashley's Forum Posts

  • What should the note say? "If your math is wrong then some mathematically identical angles will be treated incorrectly"?

  • You do not have permission to view this post

  • Did you export with a different runtime to the same URL? It might be a caching issue. Try clearing the cache or publishing to a different URL. Other than that, in general Construct is not responsible for a failed server response, that would be something to investigate on the host.

  • Well, I don't think that's anything to do with Construct - the server is refusing to serve a file. So it's probably something to do with the host.

  • Can't you just copy-paste the project file on the cloud then?

  • Maintaining multiple different versions of the same feature is far more complicated and time-consuming than just having one, and time is by far our most limited resource. We really want to just have one algorithm, and tune it to work as well as possible.

  • The change in r129 was relatively minor; we have some larger changes on the way for the next beta cycle.

    Spritesheets help ensure loading and rendering is efficient, but at the cost of potentially using more memory. C2 does not combine different objects on to spritesheets, so has lower memory usage but higher loading and rendering overhead. C3 does combine different objects on to spritesheets, so can have higher memory usage in order to attain lower loading and rendering overhead. It's a classic engineering tradeoff between two different priorities; however I think projects like this demonstrate that we need to improve the balance between the two.

  • No, it's not compatible. Compatibility with Construct Classic was dropped in 2011 when Construct 2 first came out.

  • Why don't you want to download one? It will do what you need.

  • Mathematically, -90 degrees is the same as 270 degrees. So it is correct either way.

    People regularly make the mistake of trying to make linear comparisons on angles. This is incorrect because angles are cyclical. For example if you try to test if an angle is within 10 degrees of another angle, then abs(angle1 - angle2) < 10 is the wrong formula, because it doesn't take in to account the fact angles cycle around from 360 to 0. For example with that formula comparing 359 degrees to 1 degree will incorrectly count it as being 358 degrees apart rather than 2 degrees apart. This is why there are system expressions for comparing angles, like "is within angle", which internally do the correct math to take in to account the cyclical nature of angles.

    So in short if you use the right angle conditions, expressions and calculations, it doesn't matter: -90 will be treated as identical to 270. If you make linear comparisons then your calculations are incorrect to begin with and will have other problems like not handling the 360-0 wraparound correctly, as well as other problems like incorrectly treating -90 as a different angle to 270.

  • It ought to work OK in the latest Firefox ESR (version 60). Which version are you testing with? Are there any errors in the console? (Press Ctrl+Shift+K to open it)

  • Do you have a specific question? If you are just asking "why didn't you write a completely different function", the answer is "because it works differently".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Updated links in original post with an update for Chromium 71.

  • It was pretty much taken care of the last time around. The remaining issues were with backwards compatibility and some frustrating quirks about what counts as a "user input", but the bottom line is everything should be working OK.

  • It's absolutely critical to test regularly on your target devices during development, not just at the end. It makes it far easier to deal with issues like this, since you can handle them when they first crop up, rather than much later down the line.

    It sounds like your game uses too much memory. Browsers don't tend to have specific limits, usually this means you used up all the physical memory. You may have to make quite far-reaching changes to deal with this.