Ashley's Forum Posts

  • You should not need either permission. Camera permission is to use the device camera (which canvas snapshots don't need). Local Storage works without any permission - it just stores within the app's own storage, the "External storage write permission" option is only to write outside of that, e.g. to SD cards or system storage, which Local Storage doesn't provide. (It's a compatibility option in case some Cordova plugins need it.)

  • In short, it's not possible to prevent cheating if the server just believes what the client tells it. All you can do is try to make it complicated and moderate any obviously invalid score submissions.

  • IIRC it was complicated and it's not clear why it would be necessary so it was omitted.

    Tilemaps are usually used for large-scale level design. Why would you need it as part of a hierarchy?

  • It's important to clearly explain feature suggestions, such as precisely what it would do, and why existing features are not sufficient to cover it, in order for your suggestion to be considered. This and more is explained in the feature suggestion guidelines. For example if it seems another feature will do what you want, but you didn't mention it or explain why it's insufficient, it will likely be closed on the assumption you did not know that feature exists. This is very common - we get a lot of people requesting features that are already supported.

    I would advise posting a new suggestion that makes it clearer precisely what you're requesting and why it is necessary, as per the suggestion guidelines.

  • We offer monthly pricing which can be used for short-term maintenance tasks like this without having to pay for a whole year.

    The build service constantly requires a lot of time and effort to maintain, as well as regular server bills to pay to run it. It's simply not economical to offer it in the free edition. We would lose money.

  • Are you sure the device volume is turned up and it's not in silent mode?

  • That's the project sampling property instead. Currently this is only supported project-wide.

  • It's entirely possible - all the option does is round both the scroll position and object positions. You can round those positions yourself on a per-instance basis.

    If you allow fractional scrolling though it gets tricky though: if the left of the viewport is at say 100.5, then you will need to position an object at a 0.5 offset in order to have it aligned to a pixel on-screen. It is probably easiest to always round the scroll position, so you know if an object position is rounded then it will be in the right place.

  • It looks like a bug. It must be something specific about what you're doing, as I've never seen that and as far as I know it's working for everyone else. Please report it to our issue tracker following all the guidelines, as we need all that information to be able to investigate.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct works offline, so it can load even if the web servers are not responding at all.

    The account service is also hosted separately to the website. So if the website goes down, the account service can still respond and ensure people's logins work. (I've see this working correctly when the website has had brief outages in the past.)

    If you clear your browser cache though, or you're trying to load Construct for the first time, and the website is down, it won't be able to load. Normally things come back soon! Recently we've had a couple of issues caused by the sheer volume of traffic the website has been dealing with, but hopefully we'll be on top of that soon.

  • The built-in savegames feature should work fine in NW.js as well.

  • Should I use the self.SDK.Lang.Get function instead of self.lang("") ?

    self.lang is just an alias for Lang.Get() so you can use either. I've noted that in the documentation.

    GetRuntime function has double bracket:

    That's a typo, I've fixed it. Thanks for the heads up.

    I miss self.SDK.IPluginBase, self.SDK.ITypeBase documentations in editor's base classes SDK

    These don't provide any interesting methods at the moment so are not documented.

    I miss GetScriptInterfaceClass in SDKTypeBase in runtime. Can developers use it?

    The official policy is that you should not use any undocumented features. What do you need it for?

  • This question has come up a couple of times so I've added a new DOM Messaging plugin sample to the plugin SDK download here: https://www.construct.net/en/make-games/manuals/addon-sdk

    It uses DOM messaging to set and get the document title, since that is a simple DOM API that can't be used in a worker.

  • The section on using third-party scripts in the Construct for JavaScript developers quick start guide may be helpful. However it's difficult to provide any more specific help unless you share the specific project/code you're using.

  • In general, you shouldn't keep it running in the background, because it will waste system resources.

    You can identify how long the app was in the background by comparing the time between it suspending and resuming. So if you want to do something like increase the score depending on time passed, you can do it that way without the app always running in the background.