Pygame - Create game in python || Pygame python tutorial

  Рет қаралды 428,462

Creativewiz

Creativewiz

Жыл бұрын

Pygame - Create game in python || How to make game using python
#shorts #trending #tutorials #python #pythontutorial
Python for beginners
Python
Python full course
Coding for beginners
Coding python programming
Python coding
Python langauge
Python code
Python turtle
Python game
Coding in mobile
Python turtle graphic tutorial
Turtle python
Pydroid 3 tutorial
Turtle python
Python design
Coding python for beginner
Python graphic
python game development

Пікірлер: 121
@brijeshchaudhari7184
@brijeshchaudhari7184 4 ай бұрын
Awesome! Keep it up
@SmithNguyen1711
@SmithNguyen1711 2 ай бұрын
Wow ! It easier than I thought 😅
@_____JUNPark_____
@_____JUNPark_____ Жыл бұрын
you forgot last line. "if py.event.get(py.QUIT): exit()" Otherwise it won't exit even you press X button.
@Creative_wiz
@Creative_wiz Жыл бұрын
Im making a whole game, that will be covered in next part.
@JesusAlmadaKb
@JesusAlmadaKb 4 ай бұрын
That way it looks very good, I didn't know that. In my case I had to write: run = True while run: for event in py.event.get(): if event.type == py.QUIT: run = False
@GoldenSoldierStatue
@GoldenSoldierStatue 3 ай бұрын
@@JesusAlmadaKbin my opinion, it is better
@tardissing5600
@tardissing5600 3 ай бұрын
@@JesusAlmadaKbyour code reads better and is cleaner. It just depends on preference as well.
@shoxjaxonnurxonov2984
@shoxjaxonnurxonov2984 6 күн бұрын
Like it
@Cyberabhi09
@Cyberabhi09 8 ай бұрын
Bg song is awesome 👍 and nostalgic
@mhinfo2248
@mhinfo2248 Жыл бұрын
good jobe, عمل جيد وممتاز
@LXNGVXB
@LXNGVXB 2 ай бұрын
yeah
@VirtualWorld-wv2um
@VirtualWorld-wv2um Күн бұрын
❤which audio!?
@tyson7447
@tyson7447 4 ай бұрын
GG BRO
@jaswantbalian4433
@jaswantbalian4433 2 ай бұрын
DANG, YOU’RE GOOD
@it_learning_eko
@it_learning_eko Жыл бұрын
fine , its good
@Anvitkhandare
@Anvitkhandare Ай бұрын
Bhai aap anniversary pc per kaunsi softwere use karteho
@jaswantbalian4433
@jaswantbalian4433 2 ай бұрын
Awesome!
@lakshminarayana5932
@lakshminarayana5932 4 ай бұрын
Thanks bro its real!!
@kairuannewambui8456
@kairuannewambui8456 2 ай бұрын
Learning coding, yeap
@jaswantbalian4433
@jaswantbalian4433 2 ай бұрын
GG bro
@jaswantbalian4433
@jaswantbalian4433 2 ай бұрын
Dang, you’re good
@SamuelMuchemi-um4du
@SamuelMuchemi-um4du Ай бұрын
🎉❤😂🎉0aaa
@Efcetro.
@Efcetro. 2 ай бұрын
i didnt know this video was a year ago lol
@emmanuelekpar
@emmanuelekpar 24 күн бұрын
Bro just use the full name for the variables instead of ev for event. It makes it easier to read your code
@ashersilver7388
@ashersilver7388 Ай бұрын
Whats the 20 and 5 for? In the draw.circle()
@user-dt8tw4mh8w
@user-dt8tw4mh8w 2 ай бұрын
Это изи, можно любой размер и цвет поставить, почему все так восхищаются?
@SpiderMan-ze2qm
@SpiderMan-ze2qm Күн бұрын
Cool! Is there any other games though?
@Creative_wiz
@Creative_wiz 22 сағат бұрын
Yes.
@guitC
@guitC Ай бұрын
what's the use of learning it?
@Abdul-it1gt
@Abdul-it1gt 4 ай бұрын
hehehehe
@user-on6ec1bz4r
@user-on6ec1bz4r Ай бұрын
300/400❤✌️
@ptchouhan7963
@ptchouhan7963 8 ай бұрын
want full video
@LinusRamzexs
@LinusRamzexs Ай бұрын
What did you run?
@utsavkhadga2865
@utsavkhadga2865 2 ай бұрын
Bro in 2005 using windows 7
@rajvijoriya
@rajvijoriya Жыл бұрын
bhai mere ko bhi coding sikhani hai
@witty.coder1
@witty.coder1 5 ай бұрын
Check my channel for tutorials
@samadeyc8693
@samadeyc8693 Ай бұрын
Looks like Javascript
@Rakesh-hc3tl
@Rakesh-hc3tl 21 күн бұрын
Bro this program error bro பொய்யானது
@tigerffshorts
@tigerffshorts Жыл бұрын
Bhi app yeh cooding python ky kis software pr kartey ho ye python idle Hain ya pycharm ya much aur
@Creative_wiz
@Creative_wiz Жыл бұрын
Vs code hai bhai😊
@stawollor-ni4ym
@stawollor-ni4ym 5 ай бұрын
I did this, but it doesn't work. Please tell me how. An error keeps occurring in line 3.
@Creative_wiz
@Creative_wiz 5 ай бұрын
Hi make Sure that pygame library is installed. Here is the full organised code. import pygame import sys pygame.init() width, height = 800, 600 screen = pygame.display.set_mode((width, height)) pygame.display.set_caption("Yellow Circle Border Demo") circle_radius = 30 border_thickness = 2 circle_color = (255, 255, 0) running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False elif event.type == pygame.MOUSEBUTTONDOWN: if event.button == 1: circle_position = event.pos pygame.draw.circle(screen, circle_color, circle_position, circle_radius, border_thickness) pygame.display.flip() pygame.quit() sys.exit()
@blasters0001
@blasters0001 Ай бұрын
@@Creative_wiz ye copy paste krdu to chal jayega kya ?
@techgoat618
@techgoat618 20 күн бұрын
Nice example but using vim on a MacOS system, then “x” out fails to close the pygame instance, is there a simple fix?
@troigame6624
@troigame6624 2 ай бұрын
Now try closing it without a crash😂
@catzforlife575
@catzforlife575 8 ай бұрын
After py.draw.circle the numbers are 20 5 what's after that?
@mestresplinter2467
@mestresplinter2467 3 ай бұрын
radius and line width
@ToastedHeadcrab
@ToastedHeadcrab 8 ай бұрын
Windows 8 Wut da hellll
@Anak_siapa2511
@Anak_siapa2511 2 ай бұрын
Engine?
@sk_cyber_hunter44
@sk_cyber_hunter44 8 ай бұрын
Bro give me a source code of this project
@Creative_wiz
@Creative_wiz 7 ай бұрын
Sure, this a galaxy attack, shooting game. Source code is available on my telegram channel. So please join.
@serajulislam4343
@serajulislam4343 4 ай бұрын
😢
@user-je3oc7sh4j
@user-je3oc7sh4j 3 ай бұрын
I dont need that tutorial i just need tutorial for copilot's help
@thanhhung6701
@thanhhung6701 9 ай бұрын
For children
@nbilable
@nbilable Ай бұрын
Pygame could not be resolved
@RaymondMwaura
@RaymondMwaura Ай бұрын
You haven't included the exit code.
@Trending_videos_1Million
@Trending_videos_1Million 2 ай бұрын
1 Make pyyoutube as py 2 End . . . . . 😎 Ma girya hoya banda jama neech balye
@PinguinAutiste
@PinguinAutiste Ай бұрын
what's your theme? looks good
@Creative_wiz
@Creative_wiz Ай бұрын
Its Synthwave 84
@MrChungmen
@MrChungmen 3 ай бұрын
do I need to download any app or software?
@Creative_wiz
@Creative_wiz 3 ай бұрын
Yes! Install python and visual studio code editor.
@foujiashareen5784
@foujiashareen5784 29 күн бұрын
I dint understand because i never used pygame librbary
@parekvrohlikuskecupem5821
@parekvrohlikuskecupem5821 3 ай бұрын
What is the program name
@Creative_wiz
@Creative_wiz 3 ай бұрын
Its python programming, in this code pygame library of python is used.
@adhiprasanth4628
@adhiprasanth4628 21 күн бұрын
Actually here not code just importing from pygame that why look simple
@silenttornado-psfour
@silenttornado-psfour 2 ай бұрын
I cant see screen, col, pos, 24, 5, and it cuts off after five, help
@MuhammedAbdulfetah-xo6zu
@MuhammedAbdulfetah-xo6zu 17 күн бұрын
my code is not working
@littleswagg1943
@littleswagg1943 Ай бұрын
💀
@Rahuledits09
@Rahuledits09 25 күн бұрын
Bhaii error agya 😂
@nathiyam4963
@nathiyam4963 2 ай бұрын
Error No module named 'pygame'
@Creative_wiz
@Creative_wiz 2 ай бұрын
Please install pygame library, Goto terminal and run this command👉 'pip install pygame'
@marconisuchiha6504
@marconisuchiha6504 3 ай бұрын
Gente, programação é para poucos 😢
@2ch921
@2ch921 3 ай бұрын
É nada
@marconisuchiha6504
@marconisuchiha6504 3 ай бұрын
@@2ch921 😂😂😂😂
@Matchy964
@Matchy964 Ай бұрын
Can anyone tell whats the name of his vs code theme?
@Creative_wiz
@Creative_wiz Ай бұрын
Hi, its synthWave 84 theme, and make sure to activate glow effect.
@Efcetro.
@Efcetro. 2 ай бұрын
is this vsc or what editor are you using
@Creative_wiz
@Creative_wiz 2 ай бұрын
Yes! It is vs code
@Efcetro.
@Efcetro. 2 ай бұрын
k
@Shorts-n3-l5p
@Shorts-n3-l5p Ай бұрын
Bro what game engine?
@qazxi0
@qazxi0 Ай бұрын
💀💀💀
@Gallant_Garima54
@Gallant_Garima54 3 ай бұрын
Coming error in 1st line
@Creative_wiz
@Creative_wiz 3 ай бұрын
Need to install pygame library first, ah goto terminal and run 'pip install pygame' command.
@kevin__2010
@kevin__2010 3 ай бұрын
Where can i run this code?
@Creative_wiz
@Creative_wiz 3 ай бұрын
We can run both in pc and phone, install python and vs code in pc, for phone install pydroid 3 from playstore.
@kevin__2010
@kevin__2010 3 ай бұрын
Can you do a tutorial pls?
@Vllnz828
@Vllnz828 Ай бұрын
when i run it it says no module name pygame what should i do?
@Creative_wiz
@Creative_wiz Ай бұрын
No worries, we need to install pygame library, it do not comes with python we need to install it. Go to terminal and run command 👉 'pip install pygame'
@ivana9386
@ivana9386 11 ай бұрын
Nice music
@nitinmore8255
@nitinmore8255 4 ай бұрын
no module named Pygame
@Creative_wiz
@Creative_wiz 4 ай бұрын
Goto to terminal and install the pygame library first => pip install pygame
@nitinmore8255
@nitinmore8255 4 ай бұрын
@@Creative_wiz thank you so much
@thebe1768
@thebe1768 Ай бұрын
it didn'T work about me lol and i don't even can find out the mistake
@Vamsikrishna95505
@Vamsikrishna95505 20 күн бұрын
Me too
@NirmataAviation
@NirmataAviation 20 күн бұрын
what was this coded on
@Creative_wiz
@Creative_wiz 19 күн бұрын
Vs code editor
@01juniorpen
@01juniorpen Ай бұрын
what ur color theme
@purekayx
@purekayx Ай бұрын
probably tokyo nights or one dark pro
@VERMA_RAJVEER24
@VERMA_RAJVEER24 19 күн бұрын
Which exe?
@Creative_wiz
@Creative_wiz 19 күн бұрын
vs code editor.
@purekayx
@purekayx Ай бұрын
ok so why do you share this? nothing impressive.
@deendeen9584
@deendeen9584 Ай бұрын
I think it's just to attract people to the youtube channel and other videos
@tharvinofficial8593
@tharvinofficial8593 Ай бұрын
Bro which website
@SpacedOut-df4jv
@SpacedOut-df4jv 28 күн бұрын
Vs code
@Anmol-1032-YT
@Anmol-1032-YT 2 ай бұрын
This is one of the most useless things I learned, even TKinter is better than it is. Pygame is very bad if you want to create a game.
@Hey31259
@Hey31259 2 ай бұрын
App name
@Creative_wiz
@Creative_wiz 2 ай бұрын
vs code editor.
@fikilbi
@fikilbi Ай бұрын
@@Creative_wiz or visual studio code
@PranayHasabe
@PranayHasabe 24 күн бұрын
Bad cod😡😡
@PadamGurung-wf5xs
@PadamGurung-wf5xs 7 ай бұрын
It's is pydriod 3
@Creative_wiz
@Creative_wiz 7 ай бұрын
No, its vscode but we can do in pydroid too, Pygame library suppprts in pydroid 3
@nasreennadaf7822
@nasreennadaf7822 2 ай бұрын
How to install in pydriod 3? I'm very new to coding
@misirikos457
@misirikos457 4 ай бұрын
İt is fake😂😂😂😂😂😂😂
@Creative_wiz
@Creative_wiz 4 ай бұрын
Why do you think so?
@misirikos457
@misirikos457 4 ай бұрын
Because fail
@2dmotion098
@2dmotion098 3 ай бұрын
​@@misirikos457Average coder. Try to make your own projects instead of copying others, doing a fault and then blamkng them😂😂
@IceSpike7272YT
@IceSpike7272YT 18 күн бұрын
Fake
@shikha3219
@shikha3219 10 ай бұрын
How to run game after programming it
@Ossadadevada
@Ossadadevada 10 ай бұрын
f5 or cntr + alt + n
@jaswantbalian4433
@jaswantbalian4433 2 ай бұрын
GG BRO
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 868 М.
I Used Code to Go Viral on Social Media
8:54
Green Code
Рет қаралды 134 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 100 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 49 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 58 МЛН
Этот Пёс Кое-Что Наделал 😳
00:31
Глеб Рандалайнен
Рет қаралды 3,5 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 4,2 МЛН
I Paid Fiverr Game Developers to Make the Same Game
10:25
BadGameDev
Рет қаралды 645 М.
Learning C# In A Week... Otherwise I Fail University
9:04
Colorful border rotation [ HTML & CSS ] programming
5:31
Learn Python Classes With a Text-Based Battle - OOP Tutorial
15:25
Ork Slayer Gamedev
Рет қаралды 145 М.
We made Vampire Survivors BUT in 10 Lines of Code
7:08
PlayWithFurcifer
Рет қаралды 1 МЛН
C++ Developer Learns Python
9:26
PolyMars
Рет қаралды 2,7 МЛН
I Created a Game Engine Just to Optimise This
4:50
Vercidium
Рет қаралды 974 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 100 МЛН