Images handling in cocos2d android?
问题 According to the different-2 screen resolution, can't use a single image for every device. So, how to manage this thing in Cocos2d-android ? or Using setScale() is ok with it. 回答1: You have to create a method that can get the appropriate image according to screen size. There are following steps that will help you to get image 1) Get the screen size and store that in a variable I have used as WindowManager wm = (WindowManager) this.getSystemService(Context.WINDOW_SERVICE); display = wm