Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Custom Browser Component For Fast iOS Games Created With HTML5/Javascript

  •  
  •  
  •  
  •  
  •  

JavaScriptCore is Apple’s javascript interpreter that you can use to directly render Javascript graphics using OpenGL, and audio with OpenAL bypassing using a UIWebView for much higher performance.

Previously I mentioned JavaScriptCore and ImpactJS and pointed out a simple example showing how you can use Javascript core within your apps.

Dominic Szablewski the developer of ImpactJS has released a new open source project called Ejecta providing a special “browser” specifically for running Javascript based games at high performance.

Here’s a brief summary of Ejecta as stated on the developer page:

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.

JavaScript code is executed directly by a JavaScript VM (JavaScriptCore), the HTML5 Canvas API is implemented in native code with OpenGL, Audio is implemented with OpenAL. Several other APIs (touch, accelerometer, localStorage) behave like those in a real browser.

Many HTML5 Games run out of the box, or with minimal modifications – with better performance, better sound support, Game Center integration and more.

Not only that, but also provided are a number of tutorials including a guide on extending Ejecta .

You can find everything through the Ejecta homepage here.

An awesome project for anyone looking to create games using HTML5.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments