ZhouWeikuan / cocos2d

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

The screen is black when I run the Demo of ClickAndMoveTest #81

Open linguokun1 opened 8 years ago

linguokun1 commented 8 years ago

Several Demos existed these issues. I want to know why? Thanks.

linguokun1 commented 8 years ago

These black screen issues just happen on real phone. Emulator does not exist these issues. I don't know why? I am afraid that these issues will happen on my project.

midcomc commented 8 years ago

You try to pay attention to the last thread action 2016年7月13日 16:19於 "linguokunSponia" notifications@github.com寫道:

These black screen issues just happen on real phone. Emulator does not exist these issues. I don't know why? I am afraid that these issues will happen on my project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ZhouWeikuan/cocos2d/issues/81#issuecomment-232289005, or mute the thread https://github.com/notifications/unsubscribe/AGprqAYSFKbdnIf1KJvIUJ8PsiMg3o6Sks5qVJ-OgaJpZM4JLKH4 .

midcomc commented 8 years ago

computer and mobile is different speeds 2016年7月13日 16:24於 "Midco Cheung" midco.mc@gmail.com寫道:

You try to pay attention to the last thread action 2016年7月13日 16:19於 "linguokunSponia" notifications@github.com寫道:

These black screen issues just happen on real phone. Emulator does not exist these issues. I don't know why? I am afraid that these issues will happen on my project.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ZhouWeikuan/cocos2d/issues/81#issuecomment-232289005, or mute the thread https://github.com/notifications/unsubscribe/AGprqAYSFKbdnIf1KJvIUJ8PsiMg3o6Sks5qVJ-OgaJpZM4JLKH4 .

linguokun1 commented 8 years ago

@midcomc I recently find that these issues some phones. So I guess that also need libgdx.so of arm64-v8a and armeabi-v7a?

linguokun1 commented 8 years ago

@midcomc Below is answer, how can I ask contributor to update the cocos2d-android.jar?

Go to org.cocos2d.nodes package and there in the class CCDirector.java find the method SetProjection and also find this state GLU.gluPerspective(gl, 60, size.width/size.height, 0.5f, 1500.0f); and after you finded this , your topic is to replace with this >=== GLU.gluPerspective(gl, 60, size.width/size.height, 0.5f, 2000.0f);

And it will work perfectlly

midcomc commented 8 years ago

Unfortunately, the author has stopped updating Android -cocos2d.jar . He was talk me in email.

And this is my test , use android-cocos2d.jar in Android apps AIED make. You can make any changes,Refuel.

https://github.com/midcomc/touch?files=1

midcomc commented 8 years ago

Oh sorry , did not use cocos2d.

linguokun1 commented 8 years ago

@midcomc Excuse me, I also want to know if this library does not support skeleton animation? Because it has not been updated for long period?