Python Games – Week 9: Moving sprites

Today in the python games group we learned more about moving our sprites. We used the Pygame rotate method to rotate our sprites and we used trigonometry to control our sprites movement. We started working on a ping pong game which we will finish next week. Here is our example code from today and my slides are available here python session_9

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s