AIR vs HTML5

Chat about anything not covered in these forums, but keep it civil!

Post » Mon Dec 03, 2012 6:53 am


http://esdot.ca/site/2011/mobile-performance-tests-html5-vs-air


Actually, iOS 5 is old, then iOS 6 is better and improved canvas performance
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Mon Dec 03, 2012 7:52 am

I'm confused, what is AIR? A flash alternative for mobile?
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Mon Dec 03, 2012 11:09 am

@Rory : AIR is flash for mobile. In fact, it's the (extended) Flash VM, as a binary, that work on desktop and mobile. You then write all your game/app in actionscript (flash) in the regular Flash editor, and export it to AIR.
The exporter is going to bundle the VM with your binary, for your desired target.

Edit : in fact, for lots of tasks, Actionscript will beat JS/HTML5, because of access to native features allowed to the VM, that aren't allowed for the Javascript runtime...Pode2012-12-03 11:12:49
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon Dec 03, 2012 12:16 pm

[QUOTE=Pode] @Rory : AIR is flash for mobile. In fact, it's the (extended) Flash VM, as a binary, that work on desktop and mobile. You then write all your game/app in actionscript (flash) in the regular Flash editor, and export it to AIR.
The exporter is going to bundle the VM with your binary, for your desired target.

Edit : in fact, for lots of tasks, Actionscript will beat JS/HTML5, because of access to native features allowed to the VM, that aren't allowed for the Javascript runtime...[/QUOTE]

@Pode

Did you know about Tizen and Firefox OS which use HTML5 as native language?Joannesalfa2012-12-03 12:16:36
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Mon Dec 03, 2012 1:24 pm

[QUOTE=Joannesalfa]
@Pode

Did you know about Tizen and Firefox OS which use HTML5 as native language?[/QUOTE]
Yeah, I know about them. The problem is that they don't work on actual platform, and they have a long way to go to provide native features access.

Firefox OS is going to catch on mobile some time in the next few years, but no handset maker is going to have a prominent device with it, in the western world at least. Tizen is a great project, but nobody knows about it.

Flash & AS have 15 years of headstart with various technologies related to VM and code optimization, and native hardware access. Javascript/HTML5 is catching on slowly, but nobody can say "Flash is dead", because business are still relying on it everydays.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon Dec 03, 2012 3:35 pm

AIR doesn't run on the web. Also, AIR beats canvas 2D by a small enough margin that if the devices in question supported WebGL, I think Construct 2's WebGL renderer would beat AIR as well - on desktop WebGL gets at least double the performance of canvas 2D.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Dec 03, 2012 5:21 pm

[QUOTE=Ashley] AIR doesn't run on the web. Also, AIR beats canvas 2D by a small enough margin that if the devices in question supported WebGL, I think Construct 2's WebGL renderer would beat AIR as well - on desktop WebGL gets at least double the performance of canvas 2D.[/QUOTE]
Yes, on the pure animation side, the gap is closing.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Tue Dec 04, 2012 2:26 am

Why have I not heard of this.
Thanks for the insight ;)
B
36
S
10
G
6
Posts: 948
Reputation: 11,101


Return to Open Topic

Who is online

Users browsing this forum: cdiaz2884 and 4 guests