Python & PyGame Tutorial – Code a Duck Hunt Game

Python & PyGame Tutorial – Code a Duck Hunt Game

freeCodeCamp.org via freeCodeCamp Direct link

⌨️ Intro and Project Showcase

1 of 15

1 of 15

⌨️ Intro and Project Showcase

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Python & PyGame Tutorial – Code a Duck Hunt Game

Automatically move to the next video in the Classroom when playback concludes

  1. 1 ⌨️ Intro and Project Showcase
  2. 2 ⌨️ Setting Up Pygame And Importing Images
  3. 3 ⌨️ Drawing the Gun and Rotating With Mouse Position
  4. 4 ⌨️ Drawing Enemies Onto the Screen
  5. 5 ⌨️ Procedurally Generate Enemy Starting Coordinates
  6. 6 ⌨️ Make Enemies Move With Speed Based on Tiers
  7. 7 ⌨️ Check for Mouse Collision with Targets on Shots
  8. 8 ⌨️ Display Score, Mode Status, Time Elapsed and Total Shots!
  9. 9 ⌨️ Menu Control and Setup
  10. 10 ⌨️ Pause Menu and Restarting from the Game Screens
  11. 11 ⌨️ Re-Initializing Enemy Coordinates on Restart
  12. 12 ⌨️ Game Over Conditions!
  13. 13 ⌨️ Reading and Writing to a .txt Text file for high scores!
  14. 14 ⌨️ Adding Background Music and Sound Effects!
  15. 15 ⌨️ Outro and Thank you!!

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.