Making a Pool Game in Python the EASY way - Beginner PyMunk Tutorial

Pubblicato il: 09 ottobre 2022
sul canale di: Coding With Russ
37,440
881

In this Python tutorial I will show you how to create a pool game using the python and pymunk modules.

The code for the game is built from scratch and will cover setting up the pymunk space, adding game balls and setting up the pool table and adding mouse aiming.

Most importantly, in this video I don’t code any of the physics, instead I use the pymunk module to simulate all of the collisions and physics for me.

Code and assets for this video https://github.com/russs123/pool_tuto...
Credits for assets used: https://opengameart.org/content/8-bal...

Check out my other PyGame tutorials:
2 Player Fighting Game:    • Street Fighter Style Fighting Game in Pyth...  
Flappy Bird coding tutorial:    • PyGame Flappy Bird Beginner Tutorial in Py...  

Timestamps:
0:00 Intro
0:30 Pymunk demos
2:15 Initial Game Setup
4:35 Introducing pymunk
19:52 Pool Table setup
28:15 Create pool balls
41:13 Mouse aiming
1:14:17 Detect potted ball
1:35:00 Game over conditions


In questa pagina del sito puoi guardare il video online Making a Pool Game in Python the EASY way - Beginner PyMunk Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding With Russ 09 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 37,440 volte e gli è piaciuto 881 spettatori. Buona visione!