开发者

Sprite reflection?

I am new in cocos2d..I have a sprite that is traveling in some direction, when this s开发者_如何学Goprite hits a wall by an angle, I want it to change the direction and continue in that path..?? can any one give a sample code??


Have a look at this code: iPhone Cocos2d Bouncing Ball.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜