Stardew Valley Game Clone with Python and Pygame – Full Course
By freeCodeCamp.org
Published: Aug 15, 2022“
Create a Stardew Valley style game with Python and Pygame. 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-project…
Links to related pygame videos:
- Ultimate introduction to Pygame – https://www.youtube.com/watch?v=AY9Mn…
- Delta time in pygame – https://www.youtube.com/watch?v=rWtfC…
- Masks in pygame – https://www.youtube.com/watch?v=uW3Fh…
- Collisions – https://www.youtube.com/watch?v=W9uKz…
- Tiled – https://www.youtube.com/watch?v=N6xqC…
- Cameras – https://www.youtube.com/watch?v=u7LPR…
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 )
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
”