Category Archives: Computer Science

How to animate an image II- Wrap around screen

One of the problems with our prior pygame animation is that once the red square goes to far to the left, we don’t do anything. It just seems to be gone forever ! What we want to write is the python code that says, “Hey if the image goes all the way to left, off of … Continue reading How to animate an image II- Wrap around screen →

How to negate two things

A lot of students, when they’re first learning to program,  are surprised when they’re code doesn’t do what they want.  We are going to explore why that is .   Newby programmer trying to write “hey as long as these two things are false”…do some stuff hmm… how do we write that. It might actually … Continue reading How to negate two things →

Pygame Tutorials

One of the best ways for kids to learn python is to find project that you , personally, want to make. What is better than making games? S   Installing Pygame Super simple pygame window   How to add image to Pygame surface   How to animate Pygame object How to animate an image II (wrapping)   Mouse … Continue reading Pygame Tutorials →