Ashley's Forum Posts

  • I'd be surprised if setting object positions every tick really is the cause of your performance problems - it's one of the fastest and best-optimised parts of the C2 engine. Can you make a new empty .capx demonstrating the performance difference so I can investigate?

    As for events, they are all run top-to-bottom and it stops running the event as soon as it comes across a false condition (unless it's an OR block). The C2 engine is not so poorly designed that it would do such wasteful work as running an event it already knows isn't going to run!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm... the browser capping the framerate at 60 FPS makes it hard to tell any difference. Maybe try closing all instances of Chrome and run again from the Start -> Run dialog as:

    chrome --disable-gpu-vsync

    Then you should get an uncapped framerate which makes for an easier comparison.

  • If you play music, it uses HTML5 audio instead of the Web Audio API, since HTML5 audio can stream it (without having to decode and load the entire decompressed track in to memory). However most browsers don't even support seamlessly looping an entire HTML5 audio track, let alone a portion. I think Edge adds support for this, but that's the only case I know. There's not much we can do if the browser doesn't support it. I'd recommend trying to have a short overlap and crossfade between them instead of hoping to get sample-accurate alignment.

  • Uobicajeno - this thread was posted about 8 years ago, you probably want to find something a bit more up-to-date.

  • You do not have permission to view this post

  • andreyin - if you have a bug with the front-to-back renderer please report it to the Bugs forum following all the guidelines. If it doesn't appear correctly the performance numbers are probably not useful either.

  • We will release more information about Construct 3 as soon as it is ready to share.

  • Hi all,

    I'm looking for feedback on the performance of the new front-to-back renderer introduced in r207. (See the r207 release notes for a brief overview of how it works if you missed it.) r208 fixed some bugs in the new rendering mode so it should be working reasonably well now.

    I don't have many real-world games to test with. Artificial benchmarks are good to show the maximum difference it can make, but this is often much higher than would be the case for real games. For example the WebGL renderer can benchmark up to a whole 20 times faster than canvas2d in one artificial test we use, but for real games it's only up to 2 times faster - which is still great, but a long way off the artificial test result.

    So if you're using r207+ could you give the front-to-back renderer a go and report back how it works for you? You just need to set 'Front-to-back renderer' to 'Enabled' in Project Properties (by default it is disabled).

    The most important information to include is:

    • the framerate in FPS both with and without the front-to-back renderer enabled
    • the browser and OS version (e.g. Chrome on Android 5.1.1)
    • the device model if mobile (e.g. iPad Air 2) or system spec if a PC
    • the device GPU if you know it - use C2's rendererDetail expression to check this if you don't know (although only Chrome and IE currently support it)
    • a brief overview of the kind of game

    If you have multiple systems/devices, testing all of them would be much appreciated!

    Note we're aware that some GPUs are actually slower in front-to-back mode. We'll probably have a front-to-back mode blacklist where it falls back to back-to-front mode only on certain GPUs. Adreno GPUs will probably be on this list, but your feedback may help identify others.

    This information should help us decide whether to have front-to-back mode enabled by default in the next stable release. Thanks for your help!

    Note: please don't report bugs with the front-to-back renderer here. I'm only looking for performance information. If you have a bug with the front-to-back renderer please report it to the Bugs forum following all the guidelines.

  • Local Storage works on all platforms.

  • What's wrong with text objects? I have no idea what you're talking about, you probably need to file a bug to the bugs forum following all the guidelines. Note however if it doesn't happen on the latest version of NW.js we won't fix it (since that means it's an NW.js bug that they already fixed).

  • People actually do that ?!??? Wouldn't that be similar to owning a car and a truck, but using the car to move all your furniture?

    Ha, nice analogy

  • Probably nothing, because that sentence is nonsense.

  • Construct 2 should handle it just fine. A better question is will the hardware you want to run it on be able to handle it?

  • TiAm - you'd be crazy to have a HDD and SSD and not put the OS on the SSD.

  • You could easily wrap those 8 events in a function though, right?