Ashley's Recent Forum Activity

  • It's just atan, but most programming languages provide an atan2 variant that calculates the correct quadrant.

  • This is the kind of thing which is a lot easier to do if we drop canvas2d support, but right now I think that would upset a larger number of people.

  • Closing, please see the bug report requirements, and note this is most likely to do with supported codecs in the browser you test, rather than a bug or anything mobile-specific.

  • It's not really that easy, audio can sometimes take a long time to encode anyway so you can't reliably detect a hang situation, it transcodes multiple files in parallel, the UI is blocking, etc. It's one of those "sounds easy but is hard" things.

  • > The only issue is objects store their position in single-precision floating point numbers

    >

    Read the bold sentence above that Ashley said from 2010 .

    Actually, that post is about Construct Classic, which has a different engine. C2 uses double-precision floats for numbers, but for performance reasons uses single-precision floats for rendering. This means you have an enormous range of high-precision positions, far beyond even billions of pixels (1px accuracy up to 9,007,199,254,740,992). However they can only render to within 1px accuracy in a range of about 8 million pixels from the origin (my previous statement of 100,000 was pretty much a guess, I can't remember, it was like 6 years ago ). Beyond that there is not enough precision in the rendering engine to draw everything to at least 1px accuracy, but you might get further before you notice anything wrong.

  • Closing as won't fix: the problem is with the AAC encoder we use (which doesn't report an error, it just hangs), which is the one built in to Windows, so really it's a Windows bug. We can't easily change the encoder because AAC is a patent-encumbered format. The workaround is to use your own AAC encoder or extend the audio clip. Sorry, not much else we can do.

  • There is no technical reason for the limit you set there, it's just a sanity check to avoid most likely accidental use of absurd values. If you enable "unbounded scrolling" you have an effectively unlimited size, but you'll probably run in to floating point precision issues if you go to extreme distances.

  • There's a built-in video plugin.

  • I don't think Intel actually said they will drop Cordova, they are just shifting their focus.

    Performance with PhoneGap should be identical, since it's the browser engine that determines the performance, the build system just assembles the files. Personally I find it easier than the Intel XDK, since once it's configured with your certificates, you just upload a zip and it gives you back an .ipa and .apk.

  • On Android you can use the 'Request fullscreen' action. On Safari it's not allowed by Apple's browser I'm afraid.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the canvas2d renderer, yes, it's difficult. I'm hoping we can drop support for that at some point and go 100% WebGL only, which would make things like this easier.

  • It's a good idea, but we would only do this for C3 at this point.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,776,682 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