I recently started working on AndEngine. It is difficult to find up-to-date documentation / help material in this regard. I am trying to set a background image after going through examples and source code. But for some reason, the screen remains blank. I can not find any useful information related to this. Here is the code:
public class AndEngineActivity extends BaseGameActivity { private static final int CAMERA_WIDTH = 720; private static final int CAMERA_HEIGHT = 480; private Camera mCamera; private TextureRegion mBgTexture; private BitmapTextureAtlas mBackgroundTexture; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } @Override public Engine onLoadEngine() {
source share