Dominic Szablewski

Results 173 comments of Dominic Szablewski

Nope. Nothing implemented at this point. However, [Ejecta is easily extensible]( http://impactjs.com/ejecta/extending-ejecta). The [Cordova Media Capture plugin](https://github.com/apache/cordova-plugin-media-capture) would probably be a good starting point for an implementation.

Well, I have mentioned many times that I'm "waiting" for Ejecta to become obsolete. Performance in Mobile Safari has caught up tremendously with Ejecta. Many apps and games (particularly those...

Judging from the [phaser documentation](http://phaser.io/docs/2.4.4/Phaser.Game.html) the `new Game()` constructor only lets you specify a `parent` element for the canvas, but not the canvas itself. It seems Phaser will always create...

If I understand the [Phaser Canvas.js](https://github.com/photonstorm/phaser/blob/master/src/system/Canvas.js#L27) correctly, the `Canvas.create` function, will _always_ create a new canvas element. The `id` is just assigned to that newly created canvas. Kinda weird. So...

What's your use case? I thought `window.onerror` is considered _bad practice_ nowadays. It could be added to the EJJavaScriptView's `logException` method, calling a function on the `windowEventsDelegate`. But we can't...

I think Ejecta needs some sort of Plugin system. This could probably be as simple as some guidelines for adding new classes. Maybe anything that's not provided by a normal...

In Ejecta, all images (JPG, PNG) and all Canvases are internally represented as RGBA with premultiplied alpha. If you hand over a 2D Canvas as a texture to WebGL, Ejecta...

That flag instructs WebGL to load textures as RGBA with premultiplied alpha - which happens to be Ejecta's internal format for Images and Canvas2D, so there's no conversion needed when...

I just realized that we could use `glCopyTexImage2D` to copy the canvas into a new texture for WebGL if there's no further processing needed. This should be faster than getting...

Ejecta's `require` is [a small wrapper](https://github.com/phoboslab/Ejecta/blob/master/Source/Ejecta/Ejecta.js#L83) around the native [loadModuleWithId](https://github.com/phoboslab/Ejecta/blob/master/Source/Ejecta/EJJavaScriptView.m#L238). I guess we would have to remember the current's scripts path somewhere when calling these functions, in order to construct...