Ashley's Forum Posts

  • You can read more about WebGL in the manual Technology section and this blog post on HTML5 performance. Enabling WebGL can help your game run 2-3x faster so it's definitely a good idea to have it on.

    No mobile browsers currently support WebGL which is a shame. So it won't work with PhoneGap. As for Apple, they cite security concerns as a reason not to support WebGL, but really I think it's because it could allow HTML5 apps to compete with native apps in their app store, which they make money from.

  • Invisible objects have a very small performance impact. Usually it's ignorable and you won't see any difference in FPS if you destroy invisible objects or not. However if you have *loads* of invisible objects - 99 complete levels worth of objects is loads! - this could cause a severe slowdown. It might be what's causing Firefox to choke. I would highly recommend you break everything out in to layouts, that's what they're for.

  • I'll try to get those missing expressions in a future build - the compo runs for quite a long time so hopefully it won't be a problem. The workaround is simple though, just set a global variable whenever you set the layer angle, and you can retrieve the angle from the global variable.

  • You do not have permission to view this post

  • Nice work, handy for advanced users!

  • Which browser are you using? Browsers don't have great audio support at the moment so there's not much we can do. Try some other browsers and see if they work any better.

  • You do not have permission to view this post

  • It's not a bug, you need to make sure the parent web page has the following tag on it:

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=IE8" />

    Otherwise if the parent page forces IE9 to render in IE8 document mode, it forces all iframes to use the same mode which breaks HTML5 games (since IE8 doesn't support HTML5). C2's exported HTML uses that tag but it's overridden if placed in an iframe. Can you try adding that tag to your page and let me know if it fixes it?

  • Oops, thanks, should be fixed for next build.

  • Canvas doesn't have much in the way of effects right now - we aim to add more effects for WebGL mode in future, but Canvas 2D doesn't support that so for now we're sticking mostly to what both Canvas 2D and WebGL can both manage.

  • Which version of Firefox? If you're on 3.6 I wouldn't expect its support to be very good, we're aiming to support FF 4+.

  • We haven't had time to test with Windows 8 yet but we're aiming to support Metro apps in time for Windows 8's release later this year. We don't anticipate that it'll be difficult, since Windows 8 advertises HTML5 as a way to make native apps for Windows.

  • You do not have permission to view this post

  • I haven't heard of any official way to get Kinect working in a HTML5 game, so you'll probably have to do some pretty crazy hack to make it work... I think it will be tough.

  • It's on the todo list, but in the meantime the workaround is really simple, I posted it earlier in the thread. 'Overlaps at offset' is a shortcut for set position - is overlapping - set position.