Ashley's Recent Forum Activity

  • Closing, in this forum you must follow the bug report requirements.

  • You don't need the cordova media plugin for audio playback any more. If you remove that, does it work?

  • That's not the same effect since there's no perspective. IIRC this came up before but it adds some pretty difficult complications to the engine when it has to work with other features like rotation and parallax, so I'd rather not add that.

  • This is a closed bug report, please file a new bug report and review the bug report requirements, we don't normally accept full project .capx files.

  • If the CLI accepts the config.xml produced by C2, you should definitely use it - it specifies several other options like target OS versions and some preferences that might also be necessary. I'm pretty sure PhoneGap Build uses the CLI and that works fine, so it's probably just a matter of getting your CLI to build the same as PhoneGap Build uses it.

  • 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.

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,778,910 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs