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
Post a Comment