-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sprites don't show everytime #56
Comments
what's the value of folder. this must the abslote path. such as assert path. I has use cocos2d-x now. this is the cross plateform engine, such as android, ios ... 2012-02-14 makala.cn 发件人: Nikolay Yanev Hello, The problem is that the image sometime is loaded as white square.Reply to this email directly or view it on GitHub: |
Value of the folder is "W1280" OR "W1024". This folders are located in assets dir. What is absolute path to assets? |
Hi I have encountered same problem and checked the issues around this framework. I think the reason is that you need to run add sprite in main GL thread. So something like this; I changed the code like that, and it fixed. Hope this works for you too. |
makala.cn From: qwe460529107
But still no solution. |
Thanks for your reply.But I don't have in the use of cocos2d-android.Now I use cocos2d-x.If I have any questions, I would request you to once again.Wish you the best of health. ------------------ 原始邮件 ------------------ makala.cn From: qwe460529107
But still no solution. |
Hello,
I develop Android game with cocos2d. I load sprite in this way:
CCSprite sprite = CCSprite.sprite(folder+"/sprite.png");
The problem is that the image sometime is loaded as white square.
The text was updated successfully, but these errors were encountered: