an odd image animate with horizontal and vertical lines

Hi all, glad to know cocos2d-x, it is a great game engine. And I am just a greener with game also with cocos2d-x.
Today, I try to run the code from the cocos2d-x website, like this:

http://cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_4*How_to_Fire_some_Bullets
But I got an odd animation on the application window.
I have checked the image download from the bottom of the page http://cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_2
*How_to_Add_a_sprite

Anyone came into this problem? Please tell me your solution. Thank you all.


odd.png (131.2 KB)

yp zh wrote:

Hi all, glad to know cocos2d-x, it is a great game engine. And I am just a greener with game also with cocos2d-x.
Today, I try to run the code from the cocos2d-x website, like this:
>
http://cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_4*How_to_Fire_some_Bullets
>
But I got an odd animation on the application window.
I have checked the image download from the bottom of the page http://cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_2
*How_to_Add_a_sprite
>
>
Anyone came into this problem? Please tell me your solution. Thank you all.

Have you checked the comments? It’s old (5 months) code so probably some small stuff has changed in the implementation since that tutorial was written.

Thank you. Maybe you’re right. I’ll do that.:slight_smile: