Ashley's Forum Posts

  • I thought about it but it seems trivial to implement in JS, either by the built-in timers (e.g. setTimeout) or by adding dt to a counter every tick, which is basically what the Timer behavior does. Using a script interface is arguably more complicated than just coding it yourself, so I decided against implementing it at first. Can you explain what you need it for? Are you trying to integrate with timers set by events or were you thinking it would save on coding?

  • I think you might have to use an all-lowercase filename for it to work. Coincidentally the next beta release will have a new mode to avoid these kinds of case sensitivity issues.

  • It's not supported. Construct 2 was developed before Construct 3 and doesn't understand its file format. Further, C3 now has loads of features that aren't supported in C2 so many projects would not be importable anyway.

  • Browsers don't provide this information as it would expose personal information to websites, which would be a serious privacy violation (and may in fact be illegal these days...)

  • That screenshot shows that the browser crashed with STATUS_ACCESS_VIOLATION. That's not Construct crashing, it's the browser, and so it's probably a problem the browser maker needs to fix, or possibly a system stability issue. Try installing any available software updates for your system or try a different browser.

  • If you are not already familiar with running servers, I would strongly advise you just use the official one.

  • It's not been removed. It's only supported in Chrome and Edge though. If you use a different browser it won't be available.

  • it simply produces a black screen and the layout goes blank with a little broken image icon.

    That sounds like a graphics driver crash that takes out the WebGL canvas. There might be more details if you press F12 and check the browser console.

    I'd guess either you're using too much memory and it's overloading the graphics hardware, or the graphics driver is crashing. If it's a graphics driver crash that is unfortunately difficult to deal with; your best bet is to install any available system software updates and hope that a fix comes through.

  • Construct games should work offline. Make sure you wait for the "On offline ready" trigger before going offline though, as before then, it might not have finished saving the project for use offline. See Offline games in Construct for more.

  • This sounds like this bug report, but when I tried it, it was working fine for me. It's hard to offer any help unless we can find out why it happens.

  • The mouse absolute position is not directly related to the viewport size, so you probably don't actually want to compare them.

    The mouse absolute position is basically the offset from the top-left of the canvas in CSS co-ordinates. The absolute position of the bottom-right corner depends on the window size, as a bigger canvas means a bigger absolute position. The viewport is how much of the layout content you see. Think of a 2D game: the viewport size stays the same even if you resize the window smaller or larger. It just means the same viewport sized content is displayed bigger or smaller.

    You probably want to either compare the mouse absolute position to the canvas CSS size (from PlatformInfo), or compare the mouse position on a 2D layer to the viewport size.

  • The hierarchies feature is good for this. Set up the objects in a hierarchy and you can create the entire hierarchy at once. Combined with templates, you can also choose between a set of different hierarchy options too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's difficult to help without more details. Have you tried the suggestions the message provides? Does the project involve unusual filenames or something?

  • Since the introduction of the C3 runtime a lot of projects actually run significantly faster in C3. It's difficult to help without more information, especially since the whole C2/C3 changeover went down years ago now. Some older devices have graphics driver glitches which can cause jank or low performance, so it might be something like that - modern devices should be fine though.

  • This is surprising as C3 should export similar files to C2. Try looking through the exported files for any significant discrepancy. Which files exactly are new or larger?

    It's not unheard of for third-party software like browser extensions or antivirus tries to be "helpful" and add a bunch of extra content, so it might not actually be Construct.