I got C2 working in IE7/IE8!!! - Audio HELP?

Discussion and feedback on Construct 2

Post » Fri May 18, 2012 11:16 am

Hey there, this is a thread dedicated to getting sound to work in IE7 and IE8. Using flashcanvas pro from http://www.flashcanvas.net, I got C2 working in IE7 and IE8. I outline the relatively simple formula here:

http://www.scirra.com/forum/flashcanvas-an-answer-for-nonhtml5-browsers_topic48639.html


My next step is to get sound working. Why isn't C2 using SoundManager2? Is making that the default audio engine the way to go, or is that a worse route than extending their current audio engine to work in IE7 and IE8?


Any help with this would be much appreciated, particularly from developers of the platform. Are you guys interested in solving this problem? Is there a reason you haven't supported IE7 and IE8 using flashcanvas in the past? It was easy enough and the results are fantastic. It should at least be an option. The game I tested it with, Space Blasters, flickers a bit, but many slower games wouldn't have that problem. And maybe that flickering is just because I'm accessing windows in a virtual machine on my Mac. Let me know if you guys experience the slight flickering.

Tom2012-05-18 11:17:10
B
4
Posts: 49
Reputation: 854

Post » Fri May 18, 2012 11:17 am

Why not just use the google chrome frame? Or does that not work in IE7 and 8?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri May 18, 2012 11:23 am

Hey brother, google chrome frame is not an answer. Unfortunately, you can't ask people to install new stuff. That's an answer for me and you as individuals, but not when you're trying to build traffic. If they have to install new stuff, they go away, u know.

And in my case, these games are targeted towards schools running old browsers, and the installation of google chrome frame is not happening, and 50% of this old school education market is using ie7 and ie8. So without flash, you basically have lost 50% of your market. You may say why not do it all in Flash then--well then you don't get the new gen tablets and phones.
B
4
Posts: 49
Reputation: 854

Post » Fri May 18, 2012 11:35 am

Yes, you are correct, however I would doubt that these school computers will even be able to run the game through flashcanvas. I may not be correct, but I am pretty sure this is like a browser within a browser - you will have very bad performance and problems with this lack of audio.

You are right, though, I wish schools like mine would just see to upgrade their browsers!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri May 18, 2012 11:42 am

no, flashcanvas isn't a browser within a browser. That was chrome frame. flashcanvas is just a flash .swf that all school supports.

now we just need their audio engine to work in ie7 and ie8 and we're golden.
B
4
Posts: 49
Reputation: 854

Post » Fri May 18, 2012 1:22 pm

We're not particularly interested in supporting IE7 or IE8. It's not as simple as you make it sound: IE7 doesn't support a tonne of stuff like even JSON parsing or Web Storage, so the JSON support in Array will be broken and WebStorage won't work, and that's just off the top of my head, I bet a whole scatter of random things will be broken. IE8 has a diabolically slow Javascript engine and IE7 is slower. Data URIs don't work properly. Neither of them are particularly standards compliant. Neither can do audio without Flash. So it's actually probably a lot of maintenance, bug fixing, extra testing, and so on and on. We're pushed for time as it is. Do you know if FlashCanvas is hardware accelerated? If not, it's probably also going to be too slow for many games, since all modern browsers hardware-accelerate their canvases.

If we use Flash for anything, our marketing angle is affected: we regularly say we're 100% Flash-free, pure HTML5 only, and we can't say that if we depend on Flash anywhere.

On top of that StatCounter says IE7 has less than 2% market share worldwide and IE8 has around 15% and still falling. Sooner or later these browsers will be dead so we don't want to do a lot of work for browsers fast becoming obsolete.

You can install Mozilla Firefox, Google Chrome, and Google Chrome Frame without admin permissions now. So even if you're on a locked-down PC with limited permissions, you can still usually install Chrome Frame or another better browser and you're good to go.

If schools using IE8 or earlier want to install Construct 2, we tell them they need to upgrade before using C2 because those browsers are not supported. I think trying to get a modern HTML5 tool like Construct 2 to work with old browsers is kind of obtuse, these browsers just don't support HTML5 and hacks like this will be plagued with lots of little broken features like I mentioned. So we don't want to have the support headache there either. If they need IE for compatibility, they can install Chrome alongside IE and just set Construct 2 to use that. And as a nice bonus, now they have a better browser than IE :)

So there you go, it may be possible but it will probably be slow and buggy and difficult to support and maintain. So we won't support it - install Chrome instead!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat May 19, 2012 1:21 am

You may change your mind after you see how well your game came out here:

http://linkit.faceyspacey.com


As far as support goes, I understand it's a major decision you've made in your company to stay away from flash. I'm a web developer. I hate IE. etc. However, in the public US k-12 education system, about 50% of computers are on IE8 and below. Installing anything extra, whether they can do so with or without group permissions is a major barrier. And besides that, my client requires this. So I have no choice.

ASIDES: I'm pretty sure json parsing can be solved in IE7 pretty easily. Web storage, no, but how many games need that?


Given the nature of the games C2 creates, you guys are missing out on a great opportunity. C2 makes for a perfect platform to make relatively easy learning games. That's your choice obviously. I just need sound. I'll collaborate with you to make this happen. I'll basically do it if you really don't have the bandwidth. Maybe you don't even want the functionality in your codebase. But if you do, any information you can give me will be greatly appreciated and I'll use it to support sound in IE7 and IE8. I bet it won't be that complex at the end of the day. And even though other IE7/IE8 functionality might not work, my guess is you'll support the 80% of functionality most used.

...So I'm about to create 100-200 games on your platform with or without your support. That's not meant to sound bad. I love your platform. I just mean I totally get you have other priorities, but using your platform for education games is mine. The fact that your space blasters game works means that way simpler and slower education games for k-4 children will work perfectly (and without the minor flicker you'll see in my demo). I just need to get sound to work. If you can drop me any hints off hand to get sound working that you can think of, I'd greatly appreciate it.

Thanks in advance!

B
4
Posts: 49
Reputation: 854

Post » Sat May 19, 2012 5:58 am

I have to admit, that is rather impressive, but it does flicker quite a bit.
B
34
S
4
G
8
Posts: 67
Reputation: 5,857

Post » Sat May 19, 2012 12:21 pm

Seriously, pushing the schools to install Chrome or Firefox is a much, much better solution than pushing us to support IE7 or IE8. I highly recommend going for modern browsers rather than hacking old browsers to work. We just can't support that.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu May 24, 2012 7:04 pm

Ashley, that's not an option when my client (a big textbook publisher) requires it.

Anyone experiment with getting Audio to work in IE7 and IE8 yet using my solution?
B
4
Posts: 49
Reputation: 854

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests