Hacker News new | past | comments | ask | show | jobs | submit login

(Edit: for those unfamiliar with Ejecta: http://impactjs.com/Ejecta )

I do have a toy project that aims to be a cross-platform Ejecta eventually. It's written in C and divided in an OpenGL Canvas drawing library (so you essentially get the HTML5 Canvas API in native code) and a host application that provides the JavaScript binding.

Currently, there's only a host application for iOS. I don't know much about Android and have yet to figure out how to best couple the C lib with the Java code... or if I even need Java code to begin with.

I wanted to have a working Android host app first, before putting it on github and then building up the feature set on both platforms to where Ejecta is now.

I also thought about doing a kickstarter for this, but I'm not sure what exactly I could "sell", because the I want to have it open source anyway. If anybody wants to sponsor the development, get in touch :)

tl;dr: yes.




I wouldn't bother - Crosswalk does the job great for Android:

https://crosswalk-project.org/

It's based on Chrome for Android so you have a fully-featured browser engine available. iOS is the only platform where there isn't a good GPU-accelerated browser engine available that can run native apps, hence the use case. (P.S. we hope to support Ejecta in Construct 2 officially soon!)


Wait, Chrome? With its horribly slow 2D acceleration and aliasing? Why would you want that for your game?


Chrome for Android has GPU-accelerated 2D canvas and WebGL support now, and it's great for browser games! Probably the best mobile browser in fact.


From my own experience Crosswalk gives you about 60 fps for simple canvas based games on Android 4.3 and 4.4. It is an interesting framework to use.


Some time ago I built something similar to Ejecta (https://github.com/funkaster/FakeWebGL) aiming to have support for Android. It's using Spidermonkey instead of ScriptingCore, and it's written in C++. I haven't updated the code in a long time, but it shouldn't be too hard to update to the newer SpiderMonkey and at some point add Android support :) I just need the time (which between work and my side projects, is almost 0). If someone wants to help, the code is there, and I'll be happy to provide guidance and support.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: