¡@

Home 

2014/10/16 ¤W¤È 08:11:03

android Programming Glossary: camera_height

Sprite size on different screen size Andengine Android

http://stackoverflow.com/questions/11399045/sprite-size-on-different-screen-size-andengine-android

public Engine onLoadEngine final Display display getWindowManager .getDefaultDisplay CAMERA_WIDTH display.getWidth CAMERA_HEIGHT display.getHeight Toast.makeText getApplicationContext CAMERA_WIDTH 3 mCamera new Camera 0 0 CAMERA_WIDTH CAMERA_HEIGHT.. display.getHeight Toast.makeText getApplicationContext CAMERA_WIDTH 3 mCamera new Camera 0 0 CAMERA_WIDTH CAMERA_HEIGHT engine new Engine new EngineOptions true ScreenOrientation.LANDSCAPE new RatioResolutionPolicy CAMERA_WIDTH CAMERA_HEIGHT.. engine new Engine new EngineOptions true ScreenOrientation.LANDSCAPE new RatioResolutionPolicy CAMERA_WIDTH CAMERA_HEIGHT mCamera .setNeedsMusic true .setNeedsSound true return engine android andengine share improve this question The thing..