Ejecta: HTML5 on iOS AND tvOS!


(Ade Thompson) #1

I’ve been following the tvOS development scene closely looking for a way to use Hype content on the AppleTV and as you probably know WebKit and Webviews are not supported in tvOS. Recently I’ve come across a library that allows HTML5 content to be run natively on iOS AND tvOS (the holy grail).

http://impactjs.com/ejecta/

My question is has anyone used the library to successfully port Hype content to tvOS? My quick search on here says not.

I’ll hopefully be taking a look at it soon.

Also have the Hype developers looked into this?


(𝕄𝕚𝕔𝕙𝕒𝕖𝕝 𝔾𝕒𝕣𝕠𝕗𝕒𝕝𝕠) #2

Ejecta is like a Browser without the Browser. It’s specially crafted for Games and Animations. It has no DIVs, no Tables, no Forms – only Canvas and Audio elements. This focus makes it fast.

Hype uses DOM and lots of DIV elements.


(Ade Thompson) #3

It seems to be able to take existing HTML 5 code and convert it to canvas? Am I wrong?.


(𝕄𝕚𝕔𝕙𝕒𝕖𝕝 𝔾𝕒𝕣𝕠𝕗𝕒𝕝𝕠) #4

I’m not seeing where it says that.

Chances are your Impact games run without modification – apart from controls and screen size – on Ejecta.

The main site is about Impact… http://impactjs.com …which seems to be Canvas based… http://impactjs.com/documentation/getting-started#html-files

Hype does not use Canvas… http://tumult.com/hype/faq/#doestumulthypeusecanvas


(Ade Thompson) #5

Our output does not currently make use of . All animations are based on DOM manipulations driven by JavaScript.

Maybe things can chance :slight_smile: