Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

A Stardew Valley style game in 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.

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

Timestamps:
0:00:00 - Intro
0:01:53 - Setup
0:10:19 - Creating the basic player
0:29:49 - Importing the player graphics
0:42:59 - Animating the player
0:53:32 - Tool use
1:09:04 - Switching between tools
1:21:27 - Creating the overlay
1:32:20 - Starting the camera and importing the floor
1:50:50 - Importing all elements and faking more 3D
2:18:52 - Collisions
2:42:29 - Working on the trees
3:06:42 - Particles
3:16:32 - Player inventory
3:21:57 - Restarting the day
3:46:00 - Starting the soil
4:12:29 - Soil patch graphics
4:32:51 - Watering logic
4:43:19 - Rain
5:03:36 - Creating the plants
5:24:56 - Harvesting
5:32:53 - Daytime transition
5:41:04 - The merchant
6:23:46 - Audio (+ some final fixes )

Files

Previews only

Creating a Stardew Valley inspired game in Python

A stardew Valley style game in 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. 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 Timestamps: 0:00:00 - Intro 0:01:53 - Setup 0:10:19 - Creating the basic player 0:29:49 - Importing the player graphics 0:42:59 - Animating the player 0:53:32 - Tool use 1:09:04 - Switching between tools 1:21:27 - Creating the overlay 1:32:20 - Starting the camera and importing the floor 1:50:50 - Importing all elements and faking more 3D 2:18:52 - Collisions 2:42:29 - Working on the trees 3:06:42 - Particles 3:16:32 - Player inventory 3:21:57 - Restarting the day 3:46:00 - Starting the soil 4:12:29 - Soil patch graphics 4:32:51 - Watering logic 4:43:19 - Rain 5:03:36 - Creating the plants 5:24:56 - Harvesting 5:32:53 - Daytime transition 5:41:04 - The merchant 6:23:46 - Audio (+ some final fixes )

Comments

Penny

So excited for this one!

Maic Siemering

While I normally use the Python Arcade library to write games, this tutorial is amazing! Thank you very much! I appreciate your structured coding style and love the simple approaches without overshooting!