1
Support / About overlay class
« on: July 11, 2012, 12:45:36 pm »
I want to show some pictures above my screen(for example,arrow/up/down/left),so I use overlay.
I wrote like this:
Texture arrowdown=new Texture(BitmapHelper.rescale(LoaderMana.LoadBitMap(R.drawable.arrowdown),128,128));
TextureManager.getInstance().addTexture("arrowdown", arrowdown);
Overlay down = new Overlay(world, 128, 128, 256, 0, "arrowdown");
But the arrow did't show,Is there any problems?or is there any other ways?
I wrote like this:
Texture arrowdown=new Texture(BitmapHelper.rescale(LoaderMana.LoadBitMap(R.drawable.arrowdown),128,128));
TextureManager.getInstance().addTexture("arrowdown", arrowdown);
Overlay down = new Overlay(world, 128, 128, 256, 0, "arrowdown");
But the arrow did't show,Is there any problems?or is there any other ways?