How to make HTML5 games - Angry Birds
echar

My poverBar remain white, but value is 1 ...

All 3 Comments
Gio

Hi echar

Just taking a wild guess here, but is it possible your layer is not set to webgl? To use custom shaders it has to be a webgl layer.

echar

Webgl layer's render mode  is default.

In my new project - only with one SceneObject PowerBar-  custom shader is OK. 

 

 

Gio

Sorry I'm not sure I understand what the problem is.

I know that by default the layer would be webgl, but I thought perhaps you had changed it to 2d for some reason.

If you have a project where you think it should work, but it doens't, please email the zip to gio@clockworkchilli.com and I'll have a look. If it's due to a bug in WADE I want to find out what it is and fix it.

Post a reply
Add Attachment
Submit Reply
Login to Reply