android - Andengine fade in/out and alpha modifiers not working -


i have problem andengine gles2.

i have code:

sprite black = new sprite(0,0, blackregion, this.getvertexbufferobjectmanager()); black.setsize(camera_width, camera_height);  black.registerentitymodifier(new alphamodifier(2, 0, 255));  mscene.attachchild(black); 

so it's not working. nothing does...

what need do?

did set blend function properly? example:

sprite.setblendfunction(gl10.gl_src_alpha, gl10.gl_one_minus_src_alpha); 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -