Ashley's Forum Posts

  • 1) You can pick the pinned object by its UID (use the PinnedUID expression)

    2) This has been suggested a few times, I'll see what we can do.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are there any errors in the console? (Ctrl+Shift+J)

  • Gamezilla - you need Java installed and to enable 'Minify script' on export.

  • Adding lots of global variables is fine. Anything not mentioned in performance tips will probably not have any significant effect on your game.

  • Have you tried the latest beta? Looks like you're running in to a bug we already fixed.

  • It's an Android system, which means exporting via CocoonJS to make a native app. You'd have to ask Ludei what their plans are regarding Ouya support.

  • Ouya is just an Android system. The best way to export from C2 to Android at the moment is CocoonJS. So it's more a question of: will CocoonJS support Ouya as a target platform? You'd have to ask Ludei.

  • WebGL support is improving over time, but the situation right now is:

    Android: Firefox supports WebGL, but due to a bug (which will be fixed) it's pretty slow. Chrome beta supports enabling WebGL via chrome://flags, which in my testing works great, very promising. Hopefully will be eventually enabled by default in the stable Chrome.

    iOS: supports WebGL, but is disabled. Hopefully Apple will eventually enable it.

    Firefox OS and BB10 both have good support for WebGL as well, I believe. Windows Phone 8 doesn't and may not for a long time, because MS are against WebGL (it competes with DirectX).

  • Most audio APIs don't allow you to amplify audio - even if they did, it would be really easy to clip your audio and then it would distort and sound horrible. So to achieve volume differences, normalise all your sounds to maximum volume, and turn things down.

  • This is by design. Origins work best when aligned to the corners of a pixel. It takes the top-left corner of the pixel it's assigned to. But for usability it's placed at the corner nearest the mouse, which might be the top-left corner of the next pixel down.

  • C2 only outputs javascript and HTML5, but that can run on about as wide a variety of platforms as you can get.

  • A good way to test on Android is try running your game from the web in Chrome for Android beta. That will give you a good idea of the approximate performance of the game, since it's a hardware-accelerated renderer like CocoonJS has.

  • Yes, the main reason there aren't more node-webkit specific features is just time. They're still pretty new and I'll probably be expanding it through future releases.

    Another point is that every platform-specific plugin makes it harder to port your project. Ideally a project designed for node-webkit would just export to the web or another platform like Windows 8 without losing too much functionality, or throwing errors on startup due to missing files on disk or whatever you relied on. So I'd want to very carefully design any node-webkit specific features and try very hard to integrate them with what can already be done in a browser.

    For example, take file I/O. Chrome supports an experimental filesystem API and most modern desktop browsers support IndexedDB, both of which are suitable for storing large amounts of data in a filesystem-like arrangement. If we just quickly bolt on some file I/O functions to node-webkit via a platform-specific plugin, it's likely any games you design using it will be broken when ported to other platforms. However, if we very carefully design a file storage plugin that uses different storage backends (filesystem on Chrome, IndexedDB on Firefox/IE10, disk on node-webkit) then your game should still work in web browsers even though it uses local files. That's far more valuable than a single platform-specific hack - but it's also a lot more time consuming to design. The same goes for most other features you'd want from node-webkit.

  • Thanks, should be fixed in the next build.

  • I'm not sure what to do about this since I can't reproduce the problem and it seems to be working smoothly for 99% of people, except for one or two rare reports. Can you reproduce the problem on any other computers, or is it just one machine?