Cocos2dx 3.16透明背景设置:
一.AppDelegate.cpp
director->setClearColor(cocos2d::Color4F(0.0f, 0.0f, 0.0f, 0.0f));
二.Cocos2dxActivity.java
glSurfaceView.setFocusableInTouchMode(true);
glSurfaceView.setZOrderOnTop(true);
glSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
glSurfaceView.setEGLConfigChooser(8,8,8,8,16,0);