Adding Text and getting User input in Pygame

Today we will look at adding text to the pygame screen, and examples of instruction screens. Then we will look at taking user input in pygame. Finally, we will look at a centipede example game, similar to a slither.io game that you could extend.

Adding Text, copy and paste the following into your wingIDE:

https://pastebin.com/embed_iframe/mA3SwECj

Adding Instructions, and getting user input, copy and paste the following into your wingIDE:

https://pastebin.com/embed_iframe/w5BaLK5B

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s