top of page
  • Writer's pictureMaster Hun

Python Game Dev: Lesson 001


You can run, re-mix, and share this lesson's Python code with Trinket.io

Python code for this lesson is accessible through the link below:


Date: 03/04/2020

Topic: Game Dev (with Python & the turtle module) Title: Lesson 001


In this lesson, we learn how to accept user input and change the player object's speed and direction.


The "Left" key will turn the player object left by 30 degrees.

The "Right" key will turn the player object right by 30 degrees.

The "Up" key will speed up the player object.

The "Left" key will slow down the player object.

Credits:


Thanks to Christian Thompson (YouTube: Christian Thompson) for having created many, many Python game development tutorials.

13 views0 comments

Recent Posts

See All
bottom of page