Hi
I read that shaders where not supported by Safari sodoes it mean that I can't use the Multiply effect on an iPad ? Is there a way to activate these effect by using, for exemple, appmobi or Cocoon ?
Thanks
Laurent
Develop games in your browser. Powerful, performant & highly capable.
Shaders currently require WebGL support, which isn't supported anywhere on mobile yet. Hopefully in future support will arrive to some mobile browsers...
That's too bad! It was exactly the function I've long been waiting for.
Nos other to simulate the multiply effect ?
Unfortunately not - it really needs WebGL support.
If you want to test WebGL on your iPad, you need to jailbreak your iPad, demoseen.com/webglenabler
It's only for developers
Thanks Joannesalfa.
But the app I'm working on is for common users and most of them have unjailbroken devices.
Thanks Joannesalfa. But the app I'm working on is for common users and most of them have unjailbroken devices.
We don't know about Apple is really slow about pushing updates from Safari into the webview to implement WebGL, it's not enabled at all. But iAds works with WebGL.
And does appmby and phonegapp work with WebGl ?
Laurent : do you need the multiply effect between an image and a color, or between two images ?
between two images, i'm afraid...
What about Cocoon? Would it work with that?
Laurent : I don't know if the iPad is going to be fast enough, but I added blending modes between two Sprites : http://www.scirra.com/forum/behavior-sprite-effects-inject-text-on-sprite_topic51516_post324649.html#324649
Examples :
<img src="https://dl.dropbox.com/u/1412774/Effects&TextOnSpriteDemo/demo4.png" border="0">
<img src="https://dl.dropbox.com/u/1412774/Effects&TextOnSpriteDemo/demo5.png" border="0">
Pode : Oh that looks awesome !!!
Thanks !
What kind of other effects cans you make, like soft light, hard light ?
Laurent : those are the supported modes : src-over, screen, multiply, difference, exclusion, src-in, add, lighten, darken, overlay, hardlight, colordodge, colorburn.
Pode : Thanks, mate, I finally found them. But how do I apply them ? When I add the ImageEffect behavior, it says it has (no properties)