But no success, screen still flickering. Is this problem has already been fixed?
I designed the image in 480x800 resolution, then I hope it will be scaled up fine in my tablet, but it’s not. I tried in my android phone(480x800) and it goes fine.
I’ll just make a wild guess here guys
If it’s all about the depth test, maybe it has an invariance issue or something between layers?
They might be fighting who’s in front or something bec. of small difference in depth?
I don’t know, i might be wrong.
@newstar55a
you’re logically correct, I’m trying to disable depth test and try to manually setting the depth for each sprite ( if possible )
But why it only happens on tablet (where scale up happens) and not on phone?
In this particular situation i honestly don’t know why but it could be on the available bit depth of the depth buffer. If we could just indulge in setting these we would like it deep of course but we are limited only to what available options there are on each and every platform.
It could also be on the issue of invariance in shaders where in you have the same depth variable calculation on both vertex and fragment shaders which you expect to have the same result but they have different output and so you have this z-fighting going on.
I dont know sir I was just guessing i might be wrong but these are concepts that may help point the real problem
Flicker also occurs on other game made by cocos2d-x “Run Cow Run”. Just play the game and you will see flickers happen about every 10 seconds of gameplay.
I tried another game made with cocos2d-x “Clouds & Sheep” and it’s pretty smooth on my HTC Flyer without any flickering
02-26 15:25:29.415: D/cocos2d(26336): cocos2d: cocos2d v0.99.5-beta
@siauw hi guy can you give me a demo。I’ll fix it for you and can you tell me which version did you use it.
you can send the demo to “yuye.liu@chukong-inc.ocm”
thank you very much