Stardew Valley Game Clone with Python and Pygame – Full Course

freeCodeCamp.org

Create a Stardew Valley style game with Python and Pyagme. This includes farming and foraging, a day and night cycle, weather effects and a merchant. The game was also made in Tiled so you can expand it yourself.

✏️ Christian from Clear Code created this game. Check out his channel: https://www.youtube.com/c/ClearCode

💻 Project files: https://github.com/clear-code-projects/PyDew-Valley

Links to related pygame videos:
🔗 Ultimate introduction to Pygame – https://www.youtube.com/watch?v=AY9MnQ4x3zk
🔗 Delta time in pygame – https://www.youtube.com/watch?v=rWtfClpWSb8
🔗 Masks in pygame – https://www.youtube.com/watch?v=uW3Fhe-Vkx4
🔗 Collisions – https://www.youtube.com/watch?v=W9uKzPFS1CI
🔗 Tiled – https://www.youtube.com/watch?v=N6xqCwblyiw
🔗 Cameras – https://www.youtube.com/watch?v=u7LPRqrzry8

⭐️ Course Contents ⭐️
⌨️ (0:00:00) Intro
⌨️ (0:02:08) Setup
⌨️ (0:10:34) Creating the basic player
⌨️ (0:30:04) Importing the player graphics
⌨️ (0:43:14) Animating the player
⌨️ (0:53:47) Tool use
⌨️ (1:09:19) Switching between tools
⌨️ (1:21:42) Creating the overlay
⌨️ (1:32:35) Starting the camera and importing the floor
⌨️ (1:51:05) Importing all elements and faking more 3D
⌨️ (2:19:07) Collisions
⌨️ (2:42:44) Working on the trees
⌨️ (3:06:57) Particles
⌨️ (3:16:47) Player inventory
⌨️ (3:22:12) Restarting the day
⌨️ (3:46:15) Starting the soil
⌨️ (4:12:44) Soil patch graphics
⌨️ (4:33:06) Watering logic
⌨️ (4:43:34) Rain
⌨️ (5:03:51) Creating the plants
⌨️ (5:25:11) Harvesting
⌨️ (5:33:08) Daytime transition
⌨️ (5:41:19) The merchant
⌨️ (6:24:01) Audio (+ some final fixes )

🎉 Thanks to our Champion and Sponsor supporters:
👾 Raymond Odero
👾 Agustín Kussrow
👾 aldo ferretti
👾 Otis Morgan
👾 DeezMaster

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news