Ashley's Forum Posts

  • Ashley Is there any possibility that these kind of transforms will be available in any future update of C2, on regular objects such as sprites, Spritefonts and even Layers, etc? It would be a great addition and very useful.

    Those are 3D transforms, which amounts to making a 3D engine, so probably not.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 99Instances2Go is pretty much spot on. The form Object(n).Expression uses 'n' as an instance index. In this case you are passing a comparison of the input type. This is completely unrelated to the rest of the expression, it will just evaluate 'n' as a number to find the instance index. Since you pass a comparison it returns a boolean, which in C2 is just 0 or 1. If C2 had stricter type rules, this would not be allowed at all, since often you're not allowed to pass a boolean in place of a number. Anyway this produces an instance index which has nothing to do with the original comparison! Your example is probably confusing you because it is obvious what you want it to do, but it doesn't do that.

    TBH it's easier to just pick the instances you want with conditions - I'm not convinced the Object(n).Expression feature is worth the complexity...

  • NW.js should never show an address bar. File a bug report if you see one!

    You can also use the Browser object's "Request fullscreen" to immediately open up in to fullscreen mode in NW.js.

  • This is a closed bug report. Please file a new report if you still have trouble. Note WebGL still works without WKWebView.

  • Closing as by design. After the function call ends, the parameters are no longer available. It's like trying to access the function parameters in the next event - you're not in a function call any more.

  • Reliably hitting 30 FPS on a 60 Hz display requires special scheduling support from the browser, which isn't supported yet, so you can't reliably do this right now. Here's an issue to star for Chrome to add support: http://crbug.com/522983

  • The "events are read top-to-bottom" bit applies to normal (non-trigger) events. Triggers run outside of that top-to-bottom flow, and the position of the function has no effect. C2's functions are actually designed to be as close as possible to normal programming functions, but in events.

    In fact, the "On function" trigger is so special and performance-sensitive, it has special engine code to ensure it runs as efficiently as possible.

  • Can't reproduce, looks like it's working fine... the objects are just solid colors though, so there's not much to see in the icon!

  • Closing, the error message indicates your graphics driver is crashing, not Construct 2, so we can't fix this.

    You'll need to contact your graphics card manufacturer's support if you already have the latest driver. It might be easier to try and find a new system :-\</p>

  • mainly because text objects seem to look better when I am not forced to use any of that fullscreen scaling crud..

    It's more or less identical to Chrome, because it's using the same browser engine. If you resize the window it does the same stretching that the browser does. If you don't like it, you can always use fullscreen mode "off" and it won't scale in the browser either.

  • So why not put it in a browser where there's zero overhead? NW.js is designed for large desktop games.

  • It's a bug. Please file it in the Bugs forum following all the guidelines.

  • NW.js bundles the Chromium browser engine, which is how it works, but it adds quite a lot to the download size.

    If you have a small project which you're not selling, you can just export it with HTML5 and run it in the browser where it has zero overhead. If it's a big substantial game for the likes of Steam, even 100mb is a tiny size by the standards of PC gaming. GTA V is 65GB!

  • Generally, audio has no impact on the framerate, if that's what you mean.

  • Should be fixed in the next build.