Narendrabrsoft / cocos2d-android-1

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

CCSprite.isFrameDisplayed() always returns false #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a sprite, X = CCSprite.sprite("imageFromSpriteSheet.png", true);
2. Get the sprite frame for comparison, CCSpriteFrame Y = 
CCSpriteFrameCache.sharedSpriteFrameCache().getSpriteFrame("imageFromSpriteSheet
.png");
3. Compare the frames, Z = X.isFrameDisplayed(Y);

What is the expected output? What do you see instead?
Z should be true but always returns false, even if you do X.setDisplayFrame(Y); 
and then X.isFrameDisplayed(Y) still returns false.

What version of the product are you using? On what operating system?
v0.99.4 src pull from 09/06/2011 using Eclipse on OS X. tested on Nexus S 2.3.4

Please provide any additional information below.

Original issue reported on code.google.com by gmeiste...@gmail.com on 10 Jun 2011 at 2:03