Ashley's Forum Posts

  • Please file a bug following the guidelines so we can look in to that. I've never heard of that before and it should not be the case.

  • 1. No, Construct does not support dynamically changing behaviors. However you can add multiple behaviors and disable the ones you don't need.

    2. The supported plugins and behaviors in scripting are listed in the scripting manual reference. If it's not there it's not supported yet, and we haven't covered Physics yet.

  • The console log messages don't indicate a crash, just that it's slow.

    Coming up with good tests is difficult, I'd advise just replacing sprite with SVG Picture in one of the official tests, which is what I did with the quad issue performance test to measure a ~6x improvement. That test is focused on the drawing performance - the bounding box test is mainly about recomputing rotated boxes, which works the same regardless of the object, so will obscure the real results.

  • You shouldn't need to do that. It should work in any folder. If it doesn't, please file a bug about it.

    • Post link icon

    Publishing to the web also avoids the 30% cut that the app stores take, which if you have a popular app is a huge deal. There's also a much lower barrier to entry - visiting a link is a lot easier than searching the app store and installing something. Construct 3 itself is only on the web and not in any app stores, and it's working out great for us.

    I think the main reasons developers still make mobile apps is inertia - it's still seen as "the obvious thing to do". It does simplify taking payments too, if your business is small enough that integrating something like Stripe or Paypal is a significant hurdle. And frustratingly there's still a lot of misconceptions out there, as has been mentioned in this thread already - people keep saying "I need a native app for XYZ", all of which can be done on the web too.

    • Post link icon

    The NWjs plugin only works in NWjs, not the Chrome browser.

  • Updated the original post with new downloads based on Chrome 79 (NW.js 0.43.1).

    Note: local file/folder saves are experimentally supported in the Chrome browser. With this there are no longer be enough unique features to justify the desktop downloads, so they will be retired early next year. I'd recommend switching to the browser version already if possible - see the linked thread for information on using local project files/folders in Chrome.

  • I added a note to the manual page on expressions which hopefully clears it up:

    Note a common mistake is to write comparison expressions like value = 1 | 2 with the intent to match value to either 1 or 2. However this doesn't work as it is actually evaluated as (value = 1) | 2, which always evaluates as true. Similarly value = (1 | 2) won't work as 1 | 2 evaluates to true, so it only tests if value is true. The correct way to test this is using value = 1 | value = 2.

  • The reason ESC cancels editing is because comments have always worked that way. If we changed it, ESC while editing scripts would be inconsistent with editing comments, which seems confusing. I guess we could add a confirmation prompt if pressing ESC with unsaved changes though?

  • It sounds like a Trusted Web Activity might do what you want. It's not officially supported by Construct though so you'll need to set it up yourself using the Android developer tools.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • FYI the reason var = "text1" | "text2" doesn't work is because it is evaluated as (var = "text1") | "text2", since equality has higher precedence than 'or'. "text2" is then interpreted as a "true" value, equivalent to (var = "text1") | true. Anything or true is true, so the entire expression is equivalent to true. (Construct doesn't actually have a 'true' keyword, so this will evaluate to 1.)

    As noted you need to use var = "text1" | var = "text2", which is evaluated as (var = "text1") | (var = "text2") which does what you want.

  • FYI pathfinding with avoiding other objects is incredibly difficult. It is very easy to set things up where objects get completely stuck and nothing can move any more. By far the easiest thing to do is to allow them to overlap each other.

  • You do not have permission to view this post

  • I did actually find an accidental performance pitfall when rendering large numbers of SVG Picture instances. I've fixed it for the next release - according to my measurements it makes it ~6x faster.

  • You do not have permission to view this post