Learning pygame by creating Snake [python tutorial]

Pubblicato il: 27 ottobre 2020
sul canale di: Clear Code
447,628
9k

A tutorial to teach you the fundamentals of pygame by creating the classic snake game. It is designed for absolute beginners, so you don't need to know any pygame; but you would need knowledge of basic python. But besides that, the project should be useful to understand a slightly more complex project, how to use python classes and how to create a basic game in general.

Hope you enjoy :)

The project file is available here: github.com/clear-code-projects/Snake

Timestamps:
0:00:00 - Intro
0:00:40 - How games work
0:02:52 - A basic intro to pygame
0:12:26 - Drawing in pygame
0:29:25 - The logic of snake
0:30:29 - Setting up the board
0:43:42 - Creating the snake
0:49:00 - Moving the snake
0:57:19 - Make sneck munch!
1:06:45 - Game over states
1:16:17 - Creating the fruit graphic
1:18:27 - Creating the snake graphics
1:38:45 - Grass pattern
1:44:25 - Adding the score
1:56:50 - Adding the sound
2:00:32 - Final tweaks


In questa pagina del sito puoi guardare il video online Learning pygame by creating Snake [python tutorial] della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Clear Code 27 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 447,628 volte e gli è piaciuto 9 mille spettatori. Buona visione!