Rickay -5 Junior Poster in Training

Hey people. Been having a problem when trying to use .gif files as images for sprites. When I try to use one, I get an error such as:

Documents/Code/Cocos2D/Cocos2D/Player.png: No such file or directory

But in the code, I am calling for the picture "Player.gif" to be used, as you can see:

CCSprite* player = [CCSprite spriteWithFile:@"Player.gif"
            rect:CGRectMake(0,0,48,48)];

So... what am I missing?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.