Ashley's Recent Forum Activity

  • They'd both run at the same speed, but you should prefer organising things in to different event sheets, just to make your game more manageable to work on!

  • It looks like you're using Physics - that's the most likely cause of slowdown. From the Physics Basics tutorial:

    hysics simulations are very CPU intensive. It can take a lot of processing to work out the proper motion. To make sure your game runs fast, it's recommended that you don't use too many objects at once.

  • We've already done a lot of GC optimisation in Construct 2's runtime to prevent it creating much garbage at all. So I'm sure performance will go up a bit, but we already tried to solve the problem by not creating any garbage for the GC to have to collect. Always good news to hear about JS engine improvements, though!

  • Most of these things are on my todo list, and those which weren't now are! (Including zeropad!)

  • Does it appear when previewing inside Construct 2 in HTTP mode? It shouldn't do. It's intentional that it appears when running from disk after export because like the message says for most games it doesn't work. A few of the problems are:

    • auto-mirror and auto-flip won't work
    • WebGL mode won't work at all
    • sounds won't play in Chrome

    etc.

    To prevent people reporting these as bugs, when really it's a security limitation from running on disk, that prompt appears. You have to preview in HTTP mode (Construct 2 preview or after uploading) for most games to work correctly.

  • I think the touch object will soon support multi-touch, if it doesn't already.

    It does already, and you can also enable mouse input as single-touch input for testing.

    They're separate so if you want you can handle mouse input separately to touch input. Since they're very different forms of input I thought games might want to tweak their method of touch control and mouse control separately, which having separate object allows, or if not you can easily enable mouse input for the touch object and have both the same.

  • Have you tried the Javascript Plugin and Behavior SDK?

  • You do not have permission to view this post

  • Fixed in next build!

  • I can reproduce the delay in #1, but the fact no other browsers does it makes me think it's a bug in Chrome. If it was in our code then the other browsers would do the same, so I think it's a problem with Chrome itself.

    For #2 Firefox always works fine for me, but IE9 sometimes opens blank. Again I have no idea why, because if I hit F12 to look for errors then refresh the page, it works. Again may be an IE bug.

    For #3, I don't know what to do about this because behind the scenes it simply launches a command like "firefox.exe http://localhost...". Some browsers ignore launch commands if the process is still alive but shutting down so maybe if you're launching and closing browsers rapidly it might be that.

    In short I think you're highlighting browser bugs rather than C2 bugs - I'm not sure there's anything here we can do to resolve.

    Edit: can you check yourself for errors in Firefox or IE? Press F12 in IE then refresh the page (it won't show errors that happened before you pressed F12). For Firefox try Ctrl+Shift+J or Ctrl+Shift+K, it will report all errors before that time as well too.

  • Fixed in next build!

  • Oops, fixed in next build.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,772,284 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