[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Function for keyboard movement



Hello,

 

Thereâs another way to look at teaching using Python and Pygame, which does away with the boilerplate code. The project is called Pygame Zero and is pretty cool. https://pygame-zero.readthedocs.org/en/latest/

 

From the site:

 

âPygame Zero is for creating games without boilerplate.â âIt is intended for use in education, so that teachers can teach basic programming without needing to explain the Pygame API or write an event loop."

Very cool, actually, and may be just what you need.

 

~ Michael

 


On Tue : Oct 6, 2015 4:12:21 PM you wrote:

> Hi folks,

>

> We're introducing Python for 9th grade this year and moving from Blitz

> Basic for game programming. Just wondering if anyone has come up with a way

> to hide the complexity for keyboard movement..... it's one of those things

> that makes sense to more advanced programmers but not to beginners. We've

> experimented with making a few functions to detect collisions, mouse

> clicks....

>

> TIA,

> Bob Irving

> Porter-Gaud School

> Charleston, SC

>

>