Narendrabrsoft / cocos2d-android-1

Automatically exported from code.google.com/p/cocos2d-android-1
0 stars 0 forks source link

the size of CCSprite will become smaller when jump from one activity to another activity #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There are two activities. No.1 and No.2.

Case 1: OK
I create a scene in No.2 activity and there is a CCSprite in the scene.
My app first run with the No.2 activity and the CCSprite Display normally.

Case 2: NG
when I first run the No.1 activity and then jump to the No.2 activity,
the CCSprite in No.2 activity will become much smaller than case 1.

Is there some settings needed when jump from activity to activity?

Original issue reported on code.google.com by walkerD...@gmail.com on 5 Apr 2011 at 6:53

GoogleCodeExporter commented 8 years ago
I think you should avoid multi-activity design for cocos, CCDirector class is 
singleton, may be there are some collisions... Maybe you could try using 
different scenes and scene transitions instead?

Original comment by opengen...@gmail.com on 5 Apr 2011 at 9:25