阅读背景:

Pygame:我如何让精灵始终向右移动?

来源:互联网 

I want my sprite (a 2d top down fighter plane) to always move to the sprites'a right. I currently have it so the plane rotates to where the mouse pointer is. Now I need the plane to always be moving and so you can rotate it with your mouse while the plane is flying. A short code example would be excellent as I am not very experienced. The sprite is "plane.png". I am using Python 2.7 if that matters. Thanks!I want my sprite (a 2d top down fighter plane)




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: