Making a Pool Game in Python the EASY way - Beginner PyMunk Tutorial
Автор: Coding With Russ
Загружено: 2022-10-09
Просмотров: 36148
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
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: