Ashley's Forum Posts

  • That shouldn't happen. Perhaps your addon is including a library that overwrites it? Or some accidental code that assigns over it?

  • That feature request appears to reference supporting looping conditions, which is now supported with the createLoopingConditionContext() API. All the old APIs around the event sheet manager, current event etc. where previously only there in order to support looping conditions, which is now more conveniently handled with the new API.

    I'd rather not expose the internals of the event system, as it is a very large and complex API, exposing such details to addons can severely limit our ability to make future improvements, and I'd rather addons did not tinker with the event system anyway, as sometimes addon developers do things that contradict the intended design of the event system. We could consider small, specific features, if they have a clear and important use case that cannot be feasibly achieved any other way.

  • Other storage APIs like IndexedDB should work fine in preview - in fact that's what Construct's own storage does. It doesn't do anything to prevent other code using them. So they should be working fine. Perhaps you made some other mistake.

    You could also use IStorage to access the runtime's own storage system, backed by localforage.

  • It's not supported for built-in instance variables, but you can achieve this by putting a Dictionary in a container with another object like a Sprite. Then you get per-instance dictionary storage, much like instance variables, but with full dynamic capabilities (e.g. using runtime string for keys) and the ability to inspect which keys are set.

  • It's not currently supported. What do you need it for? You could post a feature request.

  • Removing that warning doesn't mean the project will work on file:// - it still won't work.

    If you want to export a project that works locally, use a desktop export option like Windows WebView2.

  • Also I don t think a tilemap would work because its 1 object. I need all the sprite or tiles of the map to old informations like variables.

    Use a Tilemap and an Array object to store per-tile data. That would likely be far, far more efficient.

  • You should use WebM Opus for all audio - it's the only format that consistently works across all platforms.

    It's difficult to help further without a sample project. Providing a project file that demonstrates the issue is always the fastest way to get help.

  • Our official advice is in Performance tips.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've updated the next beta to try to log more helpful error messages when invalid names are encountered. However we don't know what the root cause problem is yet so we're working blind, so this may or may not help. If the project is just corrupt, it's impossible to show a good error message (and in that case the only good error message to show would be "the project appears to be corrupt" anyway).

  • This guide may help.

  • Any organisation you rely on for game development could potentially fail and leave you in a difficult position. However I would put it to you that there are a few big commercial tools out there that are either losing loads of money, or have such generous payment terms that they probably are losing loads of money. These businesses can't keep that up forever and so potentially face a major business risk, and in turn a risk to the work of everyone who uses that tool. By charging a subscription I hope it's obvious to outsiders that we have a sustainable business model that we can continue indefinitely. Open source is a different model, but in the commercial world, developing software is expensive - and if it's not obvious how they fund that, I would say there is actually a much bigger risk that a loss-making commercial tool is ultimately shut down.

  • The latest beta release has already updated those libraries.

  • You can't pass custom arguments to the constructor when using subclassing. However you can just use an init() method that you call afterwards instead.

  • You're right, it looked like the definition for runtime.sdk was missing. I've added that for the next beta.

    In future you can file any such similar issues to the issue tracker.