cocos2d for android, based on cocos2d-android-0.82, and now ported from cocos2d-iphone 0.99.4. The googlecode address is here: http://code.google.com/p/cocos2d-android-1/ . There are several demos to watch.
610
stars
291
forks
source link
Intent set to landscape and launcher causes stretched sprites when booting into the app #80
Hi ZhouWeikuan,
If a Cocos2D app is setup as the default system launcher and landscape orientation is specified, on some devices when the device is rebooted, the app loads with stretched sprites - it's as if the CCGLSurfaceView is being rendered for portrait and then rotated/stretched to fill landscape. This only happens when booting fresh into the launcher and doesn't effect all devices (I think it depends on whether the device boots into portrait by default). The app works perfectly on some devices.
Any ideas?
Many thanks,
Matt
Hi ZhouWeikuan, If a Cocos2D app is setup as the default system launcher and landscape orientation is specified, on some devices when the device is rebooted, the app loads with stretched sprites - it's as if the CCGLSurfaceView is being rendered for portrait and then rotated/stretched to fill landscape. This only happens when booting fresh into the launcher and doesn't effect all devices (I think it depends on whether the device boots into portrait by default). The app works perfectly on some devices. Any ideas? Many thanks, Matt