Ashley's Recent Forum Activity

  • I can't reproduce any problem on an iPad Air 2 running Chrome for iOS 57. The error message looks like a crash in Chrome itself too. Maybe it's an addon you have installed?

  • It's almost impossible to debug projects like the one you provided. Can you make a minimal .capx as per the bug report guidelines?

    Also does it only happen in cocoon.io's build service? If so you should probably report it to them, since it would probably not be a C2 bug.

  • It's not to do with NW.js or downloading, turns out the canvas recording feature was broken if you exported with minification. Should be fixed in the next build!

  • It enables Point sampling, pixel rounding, and letterbox integer scale. This guarantees pixel-perfect display in any circumstances.

  • We already do everything that article says. It's also quite out of date now, new features have been added since 2014. But none of that solves the problem that JS can't cause a paste. You can already paste, by the way, you just have to use the system shortcut (e.g. Ctrl+V on Windows) or the browser menu which has cut, copy and paste options - it's just we can't add a corresponding menu option for that, and the shortcut doesn't work on mobile.

    The desktop build will be able to show a menu option for pasting. Otherwise I think it would be better to work around it by having a fake in-app clipboard that doesn't really paste from the clipboard, just the last thing you copied in the same instance of C3. This will have some quirks like not being able to copy-paste between two separate instances of C3, but at least you'll be able to use copy-paste from the menu.

    Overall it's pretty minor I think, you can still paste, it's just about whether or not we can display a menu option for it.

  • But anyone can deliver any crappy game and charge for cookie coins.

    Not really, if you intend to make actual money from gambling games - it's an incredibly tightly regulated industry, which is probably imposing enough to keep out any indie devs or even small companies. This particular aspect is aimed at large gambling corporations.

  • The scale, rotate and actual rendering work done by the shader is all done on the GPU so that aspect ought to be identical across all browsers (and even native engines).

    However rendering shader effects does involve quite a lot of complex rendering calls, so there is a significant CPU aspect to that, and that's what looks like has significantly improved in the latest Edge. I'd suggest focusing any measurements on the CPU side.

  • The expression returns the correct path - e.g. "/home/username/Desktop/". This is a valid path for the file system. The problem is if you make a request to this treating it as a URL - such as you do to issue an AJAX request and load an image - then it's routed through the browser URL resolution. This is not the same as a file path. It expects URLs of the form "https://www.scirra.com", but you pass it something like "/home/username/Desktop/test.txt". This looks like a relative URL (e.g. fetching "/folder/file.txt") so the request happens to be made relative to the current URL, which happens to be something based on chrome-extension:// for NW.js apps. The problem probably only does not happen on Windows because the different file path style with a drive letter unambiguously identifies a local path. You can force it to treat a path as a local URL by prefixing "file://". So your example actually starts working if you add "file://" before the request URLs. That's a nice easy workaround for the time being!

    So far everything is actually working correctly. The real problem is confusion between file paths and URLs. We can't change AppFolder because adding "file://" is incorrect for actions that directly manipulate local files. But then you can't directly use AppFolder in a URL expression without prefixing "file://".

    So I think the best solution is a new expression AppFolderURL, which has the "file://" part automatically included. Then you can use AppFolder for local file stuff, and AppFolderURL for anything treated as a URL. This will be added in the next build, but you don't need to wait, just add "file://" for now and it works.

  • In Edge 15 with the Creator's Update, Edge performs approximately the same as Firefox on my machine. I can get 60 FPS on all three browsers, but the CPU usages are approximately 20% in Chrome, 40% in Edge and 45% in Firefox. So it looks like Edge 15 has been optimised and is now slightly better than Firefox. Can you confirm?

  • Link doesn't work, closing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please see the bug report guidelines so we can actually help you. Closing.

  • Closing as not a C2 bug, please check your third-party addons.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,775,882 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