AndEngine - Sprites are not getting scaled on different devices
问题 Code : This is how m initializing camera. I', trying to get resolution of device and based on that i set camera width and height. public class GameActivity extends SimpleBaseGameActivity { private SmoothCamera mCamera; private DisplayMetrics dM; private int CAMERA_WIDTH, CAMERA_HEIGHT; private double ScreenWidth, ScreenHeight, resolutionRatio; public EngineOptions onCreateEngineOptions() { //set Camera getDeviceResolution(); setCamera(); EngineOptions options = new EngineOptions(true,