Ashley's Forum Posts

  • Ah, thanks for the info dump - looks like the fallback when non-power-of-two textures are not supported isn't working. I'll see if I can fix for the next build.

  • For nested loops just break up the top level loop across multiple ticks. That still cuts up the entire job in to smaller pieces.

  • Construct ought to use a multithreaded runtime, but it doesn't. It's a design flaw and fixing it would require some level of refactoring. It's also a problem in the editor - saving or loading huge projects sends the editor in to "not responding" as well. It's solved in Construct 2 - the editor does heavy lifting on a separate thread, and most browsers run javascript in a separate thread too.

    But why does your game need to do such an extraordinary amount of processing that the window is locked up? It seems unusual.

    The "DoEvents" type function that was in VB is widely regarded as an ugly hack, but I guess that wouldn't be out of place in Classic

    The only other solution is to break up the work over multiple ticks. For example, instead of doing a million loop iterations which takes ten seconds and goes in to "not responding" mode, break it up in to 10,000 iterations per tick over 100 ticks. Not only does this keep the app responding during the processing, but it also gives you the opportunity to update the screen with the progress. That's probably your best bet for the time being.

  • I think C2 is best suited for games and apps within webpages. If you use HTML5 canvas for entire websites, you run in to the same age-old problems of doing the same in Flash: google won't crawl it so you won't be indexed, your browser back/forward buttons don't work as expected, it's hard getting a URL to the specific page you want, poor accessibility, etc. etc. Flash has fixed some of these by virtue of being absolutely massive and all over the internet for years and years, but C2's canvas isn't there yet. In other words, stick to HTML for websites - use Canvas for games, banners and other interactive bits and pieces inside that. The fullscreen mode is for fullscreen games!

  • You do not have permission to view this post

  • Canvas can do JPEG. I'll add it to my todo list. They would just be converted to JPEG on export - in the project they'd still be PNG, because they're lossless. (You don't want the quality to degrade every time you click 'Edit'!)

  • Animations are next on the agenda. It's a big job though, so releases might be a bit less frequent for a bit.

  • Release 41 now has a fullscreen in browser option that takes care of this for you!

  • Download Construct 2 public preview 41

    Link to release 40

    New in this build: fullscreen in browser!

    <img src="http://www.scirra.com/construct2/releases/r41.png">

    The 'Fullscreen in browser' option resizes the canvas to fill the entire browser window. This is especially good for phones and tablets where you want the web page to look like an app. Here's a simple test.

    In most browsers on desktop systems, you can also hit F11, and lo and behold, fullscreen gaming in HTML5!

    Changelog

    • [Feature] Fullscreen in browser (project properties)
    • [Add] WindowWidth and WindowHeight system expressions - useful when in fullscreen mode to get the current window size.
    • [Change] Double-clicking group headers toggles their expanded state instead of editing
  • Hehe, no worries nobody should panic about features disappearing, we're trying to match everything Classic does and then add more on top of that, except where HTML5 limitations apply.

  • Could it be made to work like CC where double clicking the group would open and close it?

    OK, will change for next build.

    Last I heard, groups were going to be left out of C2

    Where did you hear that?! We've always planned to put groups in, to match Classic's features!

  • Have you seen Construct 2 and its FAQ?

  • Oops! I removed the 'Event groups' option because it's added in the newest build, but it reset all the votes to zero!

    Sorry, you'll have to vote again... but you may as well because 'Event groups' used to be the most popular option!

  • Download Construct 2 public preview 40

    Link to release 39

    New in this build: event groups!

    <img src="http://www.scirra.com/construct2/releases/r40.png">

    These are as you'd expect from Classic: they are collapsible, can be disabled on startup, have a title and description, and there is a system action to activate or deactivate them and a condition to check they're active.

    A nice touch is that you can create local variables inside event groups, and their scope is the entire event group. That's useful for variables which are used over a fairly broad scope, but still without making them global.

    That is all - let me know if any problems - more builds on the way!

    Changelog

    • [Feature] Event groups
    • [Fix] 'Solid' behavior broken in r39.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HTML5 canvas doesn't really have anything corresponding to orthogonal projection - it just depends on the order you draw them.

    —, how much slow down do you get? I thought the for-each-ordered and send-to-back conditions were efficiently coded. Does it really make a big fps difference toggling that one event?