No, you should not mix await and .then - you should choose one or the other (and await is much more convenient).
await
.then
It's hard to say more from such a small code snippet, it should just work. As always sharing a project is easier to help.
You have to delete any objects using the plugins or behaviors from the Project Bar. You can view all curently used addons by right-clicking the project name in the Project Bar and choosing Tools -> View used addons.
Saying "this binary data is another type" does not convert the data. You're just putting the wrong label on the same data, which will probably break it.
You do not have permission to view this post
The share feature depends on the Web Share API. It's not supported in every browser yet, but its support is improving over time: https://caniuse.com/web-share
No software is perfect, so nobody can guarantee that everything will work perfectly, no matter which combination of technologies they use.
As far as I'm aware, all our export options are working very well and we have thousands of happy customers.
To determine if an object is being touched, you need to combine tracking the touch events (e.g. pointermove, as documented here) to know where all the current touches are, with the containsPoint method to identify if one of those touches is over an object. (This is what the Touch object does internally.)
IIRC the main runtime script is ~200kb for an empty project with advanced minify and zip compression. It increases with size the more plugins and behaviors you use in the project, since each of those will embed the JS code for the plugin/behavior in the runtime script as well. So to make the script smaller, you need to use fewer plugins and behaviors.
Look at the Physics catapult template.
I'm afraid at the moment our reward programme only issues free subscriptions when the translation first reaches 100%. The aim is to incentivize the completion of the language in the first place. That happened quite a long time ago for the Russian translation. We don't have a rewards programme for on-going updates of translations at the moment.
Develop games in your browser. Powerful, performant & highly capable.
Member since 21 May, 2007
The official blog for all things Construct and Scirra run by our employees!
Wider technology issues from Ashley's perspective.