954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Pygame input to screen

Hey guys,

I'm new to pygame, and working on a simple educational worm game project. The idea is to display a math problem every time the worm hits the apple, and then have the student answer that math question.

I can't figure out a way to get the keyboard inputs to blit to the screen in real time. For example, if I wanted "15" to display on the screen, I would want it to write the '1' and then the '5.'

Anyone have ideas or helpful tips? Thanks for the help.

ehud07
Newbie Poster
1 post since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

You might want to check this out...it's an excellent piece of documentation.

http://www.pygame.org/ftp/contrib/input.html

matthewkeating
Light Poster
28 posts since Jan 2011
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: