Тёмный

Creating a Pokémon inspired RPG in Python & Pygame 

Clear Code
Подписаться 209 тыс.
Просмотров 40 тыс.
50% 1

Thanks to Brilliant for the support, you can find them here: brilliant.org/ClearCode/
A RPG that is inspired by Pokemon and Final Fantasy in Python. We will use pygame-ce to create it and in the process you will learn database management, ui design and how to handle a really complex project.
Find/support me on other channels
Patreon - / clearcode
Twitter - / clear_coder
Discord - / discord
Shoutout to Scarloxy for creating the graphics: / scarloxy
Project files:
github.com/clear-code-project...
drive.google.com/drive/folder...
Timestamps:
00:00:00 - Intro
00:02:51 - Overworld setup
00:53:29 - Overworld animations
01:23:30 - Character setup
01:54:17 - Overworld finish (collisions, grass & drawing order)
02:45:43 - Dialog system
03:59:57 - Level transitions
04:20:07 - Monster index
06:28:08 - Battle setup
07:28:38 - Battle ui
08:47:22 - Battle logic
10:18:26 - Finishing up (Evolution, sound, more transitions)

Опубликовано:

 

2 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 227   
@ClearCode
@ClearCode Месяц назад
If you enjoy this type of content please consider supporting me on Patreon www.patreon.com/clearcode Making these videos takes a lot of time and money to pay artists so any support is appreciated
@Lansamatv
@Lansamatv Месяц назад
you can do the same for godot
@SashoSuper
@SashoSuper Месяц назад
​@@Lansamatvindeed, but godot is a game engine, while python is primarily used for machine learning, computer vision etc, so basically everything learned here can be applied in other spheres of python development.
@nullgator8073
@nullgator8073 Месяц назад
The art for this is crazy good for a "tutorial" game. Someone poured their heart and soul into these
@ClearCode
@ClearCode Месяц назад
You can find the artist here: scarloxy.itch.io/mpwsp01
@ApprenticePL
@ApprenticePL Месяц назад
"429, too many requests", aww, happy, hope some those people accessing the website turn into this person's clients! 😄
@--Zeke--
@--Zeke-- Месяц назад
​@@ApprenticePLGet rid of the stuff after the / and it works for now :)
@mahmoudshihab
@mahmoudshihab Месяц назад
To ensure I’m not going to get sued, let’s call it “Monster Hunter” Capcom: *Clears Throat*
@subarunatsuki1902
@subarunatsuki1902 Месяц назад
They are pretty chill with copyright or atleast better than Nintendo
@vadvenurt
@vadvenurt Месяц назад
Oh shit. Another tutorial from my favourite code teacher. Can't wait to spend another month doing another tutorial.
@maxfrischdev
@maxfrischdev Месяц назад
😂😂😂
@3ler4never
@3ler4never Месяц назад
I love your tutorials, please dont stop making them. Looking forward to recreating this one
@denisehub1174
@denisehub1174 Месяц назад
Oh, I was checking your channel for a fun pygame to make was not expecting a new video to drop. Truly an amazing tutorial.
@FlyiingFairy
@FlyiingFairy Месяц назад
I'm so looking forward to the turn-based logic part, thank you so much for all the amazing tutorials.
@kolyamovchan8465
@kolyamovchan8465 Месяц назад
This channel is one of the best! Clearest tutorial and explanation by far!😀 Keep going!
@tredecillion3207
@tredecillion3207 Месяц назад
Man, you not only made me learn python, but you created a passion for programming and game development as a whole. Your tutorials are awesome, thank you so much for all the effort you put into them
@MustafaTuncay..
@MustafaTuncay.. Месяц назад
OMG! It looks perfect. I really like your tutorials and I am so excited for that. It looks awesome.
@zeksy7989
@zeksy7989 Месяц назад
You're my go-to for learning python further now, keep up the good work man, much appreciate the hard work you put into these videos. I don't usually comment on videos but again coming across quality content like this one isn't quite easy.
@IOSALive
@IOSALive Месяц назад
Clear Code, I loved this video so much, I had to hit the like button!
@shauryagupta3644
@shauryagupta3644 Месяц назад
Yay I've been waiting for this one! Time to code em all :P
@quantum_hg3299
@quantum_hg3299 Месяц назад
Thankyou very much For providing these tutorials for free to the community ❤❤
@ronaldocouves988
@ronaldocouves988 Месяц назад
The GOAT posted another masterpiece. Thanks a lot for your help!
@anthonydrakefordshadow
@anthonydrakefordshadow Месяц назад
Your older tutorials are giving my game dev dreams life, thanks ❤
@1just_josh421
@1just_josh421 Месяц назад
I love your pygame projects keep it up please there so good
@tichalagaming7853
@tichalagaming7853 Месяц назад
Thank you sir 🙏 I can't appreciate this stuff enough ❤❤
@ali-r8263
@ali-r8263 Месяц назад
I'm learning a lot! Thank you sir truly!
@johnb6714
@johnb6714 9 дней назад
I love your tutorials, absolutely amazing!!
@ClearCode
@ClearCode 9 дней назад
thank you so much, your support helps me a lot to make more :)
@nandoPluister
@nandoPluister Месяц назад
Thanks! I've added this to my watch later and will follow it as soon as I have the time!
@wauthethird
@wauthethird Месяц назад
It's insane that this vid isn't getting more views. Knowing how your vids usually perform, it's gotta be pretty rough. Don't give up though!
@bob4361
@bob4361 Месяц назад
THIS WAS EXACTLY WHAT I NEEDED ❤
@RossiGiova
@RossiGiova Месяц назад
I love watching your videos, you are really good as a teacher
@--Zeke--
@--Zeke-- Месяц назад
He's back!! Working my way through the Godot course rn, but might binge this just for fun too :)
@111-Czarny
@111-Czarny Месяц назад
This is crazy. Thank You so much ❤
@KellenBegin
@KellenBegin Месяц назад
awesome, Im starting today and will hopefully finish within a week
@Zuarin
@Zuarin Месяц назад
This looks incredible 🤩
@HoRRoRlets
@HoRRoRlets Месяц назад
Man...This is amazing. Many Many Thanks...
@BinBin-jl2lg
@BinBin-jl2lg Месяц назад
Wow! This is the most awesome pygame project, I've ever seen.
@Filipe_Seixas
@Filipe_Seixas Месяц назад
Você é uma inspiração para mim cara : ). ❤❤❤
@gsdealer7691
@gsdealer7691 Месяц назад
Can`t believe this tutorial is all for free ... you are amazing
@SuperSunshine321
@SuperSunshine321 Месяц назад
He has done it again, absolutely amazing!
@AdityaYadav-jg9xw
@AdityaYadav-jg9xw Месяц назад
man this will be a master piece. too excited
@bepositive271
@bepositive271 Месяц назад
Definitely gonna follow it
@evannwen4730
@evannwen4730 Месяц назад
Wow! This is amazing
@pichuelanewman7135
@pichuelanewman7135 Месяц назад
Man i love your videos ❤
@uniroo8795
@uniroo8795 Месяц назад
My dream is to create a Pokemon game with Python combining multiple regions having go through Ash adventure. Have followed Zelda en Beginner video. This is unbelievable so magnificent the work you put in creating top tier tutorial videos. I am stoked to see this one!!! You are a Legend!!!
@zashgamming7506
@zashgamming7506 Месяц назад
So amazing❤
Месяц назад
Truly amazing!
@Rundas69420
@Rundas69420 Месяц назад
I think that it might not be the best idea to hardcode the names of objects which should be rendered on top of everything else. Especially when expanding the game, which I'm definitely gonna do. Went for a boolean property in tiled and checked whether that prop is true in the code. Other than that, huge thanks for this 11 hour free banger video. Can't stress enough how well done your tutorials are^^
@ClearCode
@ClearCode Месяц назад
yeah, there are some things that could definitely be done better but hindsight is 20/20 😅 glad you like it though!
@derekplus
@derekplus Месяц назад
11 hour tutorial. Perfect 👌
@kaiseraugustus1393
@kaiseraugustus1393 Месяц назад
It is interesting, how I am being enjoyed watching this video, although I do have no intention for the near future to develop any game at all nor in Python specifically :D Great job there
@verstrahlt1907
@verstrahlt1907 Месяц назад
amazing work, beautiful game, great realization, interesting beings
@mariosoriano4650
@mariosoriano4650 Месяц назад
The GOAT is back with another banger
@novialriptide
@novialriptide Месяц назад
The end result looks beautiful.
@thepeeps191
@thepeeps191 Месяц назад
The goat is back again!
@lukaLondaridze
@lukaLondaridze Месяц назад
🎉🎉🎉🎉🎉 I hope this one succseeds greatly!
@kevinh5212
@kevinh5212 Месяц назад
Yes! Yes!! Thank you, I'll be watching this later! Oh my God this is incredible!
@CassyCodes
@CassyCodes Месяц назад
This looks so good! I’m very tempted to take a break from godot and learn python!
@ClearCode
@ClearCode Месяц назад
Just wait for the Godot stuff I'll do later this year; it's gonna be sick :D
@CassyCodes
@CassyCodes Месяц назад
@@ClearCode I’m incredibly excited for it!! Thank you for all the education!
@blackeyedme
@blackeyedme Месяц назад
@@ClearCode Yeah if you can make these types of tutorials in Godot instead, it will be perfect. While Pygame is cool to learn/brush-up on Python, its not really industry ready, where Godot far exceeds it as a proper game engine. Definitely a gap in the YT market of proper Godot tutorials of this caliber.
@AliensCorp
@AliensCorp Месяц назад
Wow! Thank you!❤
@alisher.m
@alisher.m Месяц назад
Thank you, your tutorials are another tier. Please release more of them!
@ali-r8263
@ali-r8263 Месяц назад
Thank you so much sir!!!! ❤❤❤🙏🙏
@InfiniteCoder01
@InfiniteCoder01 Месяц назад
1:07:56 Now I have to live, knowing that frame_index will grow infinitely and python's dynamic number sizing (not sure, what it's called) will slow the game down after years of running nonstop
@that_cutekitten03
@that_cutekitten03 Месяц назад
yes iv'e been waiting since pydew valey ❣❣
@Akiel0202
@Akiel0202 Месяц назад
The timing!
@InfiniteCoder01
@InfiniteCoder01 Месяц назад
2:10:43 I normally sort by the bottom edge of the sprite, because it's supposed to be in contact woth the ground at the sprite position, unlike the center, which is height-dependent. But for the grass, this value actually supposed to be the center, since it's not placed vertically
@nurunnahar4398
@nurunnahar4398 Месяц назад
Thanks a lot for creating another tutorial ❤❤
@josueibarra6570
@josueibarra6570 Месяц назад
Well, I'll see you in 11+ hours! Your tutorials are really clear 👀 and easy to follow, thank you deeply for posting these on YT. Could you do one for the Defold Engine?
@Star-jt9lv
@Star-jt9lv Месяц назад
You are the GOAT
@SkyFly19853
@SkyFly19853 Месяц назад
Real Nice !
@stromxplays9715
@stromxplays9715 Месяц назад
Amazing
@Geographyball1
@Geographyball1 Месяц назад
Interesting!
@fredtrunce5931
@fredtrunce5931 Месяц назад
Ahhhhhhhh!!!!!! Thank you!!!!!!!!!
@AxXis--
@AxXis-- Месяц назад
Hello! I'm very very fond of your tutorials and the way you showcase, explain and the general vibes. I just finished the beginner tutorial for pygame and now I feel a bit lost, I can't really find a "intermediate" tutorial or the next step for beginners, I'm trying to make my own game right now, a very simple one but I get stuck pretty much all the time and now it's really hard for me, so I was just wondering if you have any recomendations to go about after watching your beginner friendly tutorial? ;)
@rahilsondias6629
@rahilsondias6629 18 часов назад
Amazing tutorial, would really love to see this project remade in Godot!
@benbouhasofiane1244
@benbouhasofiane1244 Месяц назад
bro l was waiting for 2 months about Godot projects (thank you for amazing tutorial)
@InfiniteCoder01
@InfiniteCoder01 Месяц назад
37:02 Delta time is good enough for most cases, but sometimes it's just better to use fixed update for everything but rendering
@ZihadJoy
@ZihadJoy Месяц назад
the only hard working guy who makes me want to code in python again
@emperor8716
@emperor8716 Месяц назад
check out dafluffypotato too. he makes some insane stuff in pygame.
@yvettex4169
@yvettex4169 Месяц назад
love you soooo much!🥰
@prfctstrm
@prfctstrm Месяц назад
I haven't watched this yet, and I am not a python developer, but I've always wanted to know how to code an RPG battle system, so I'm going to try follow this tutorial in another language and engine, and hope I can make something good out of it.
@KalifSSJ
@KalifSSJ Месяц назад
Thx for info pygame-ce
@Gogei
@Gogei Месяц назад
Thanks♥
@marginiszero
@marginiszero Месяц назад
This game is so amazing bro😍 I will try to make this type of game in javascript🔥🔥
@3w4n86
@3w4n86 Месяц назад
You are awesome
@KYOTF67
@KYOTF67 Месяц назад
The Goat
@Twelveoglock1
@Twelveoglock1 Месяц назад
Nice! Still waiting for new godot tutorial to drop!
@healplease
@healplease Месяц назад
Hello ClearCode, this video is magnicifient, like like the others! I wanted to ask, why do you choose to upload 12-hour video instead of splitting it into 24 30-minute videos unified in a project playlist?
@ClearCode
@ClearCode Месяц назад
because then each video would get much fewer views and I wouldn't get a sponsorship (which basically finances the entire operation)
@InfiniteCoder01
@InfiniteCoder01 Месяц назад
12hr format is kinda charming when combined with pygame Pokémon development and chill live coding. I really enjoy those videos
@orlandoromero1289
@orlandoromero1289 Месяц назад
Would you consider doing a 3D-based video at some point? I know pygame doesn't really support it directly, but it could work, for instance, with something like raylib (it has bindings for python) or pygame + pyopengl. Something like Ursina/Panda3D (or even Godot) could also work, but the thing I appreciate in your videos is that it's all about the code without it being about learning a specific API. If you do end up doing something in 3D, I would enjoy a similar approach, where whatever framework/library/engine is only used to handle basic input and to draw things on the screen.
@pedrenriquegg
@pedrenriquegg Месяц назад
I was wondering when this was going to drop. It was such a natural follow-up after pydew valley
@panociagasta
@panociagasta Месяц назад
GOAT
@maxfrischdev
@maxfrischdev Месяц назад
Christian did it again?! 😮😮 ❤❤❤
@yyvan5125
@yyvan5125 Месяц назад
have you considered using type information in your code? i would say that its a good practice in python, which would be pretty useful to teach people learning python using your videos.
@InfiniteCoder01
@InfiniteCoder01 Месяц назад
[5:03:50] I guess, collidepoint is checking X range [left; right) and Y range [top; bottom) (not including right X and bottom Y). This is for the same reason, we have list indices start with zero and len(list) is not a valid index
@ClearCode
@ClearCode Месяц назад
yup, I should have explained that one better!
@potatocat6855
@potatocat6855 Месяц назад
the wait is finally over!!!! time to spend the next 11hrs to complete this : )
@uatch
@uatch Месяц назад
only 11 h ???? personnally i know that it's gonna be a lot igger than that XD
@imaguyyesmale
@imaguyyesmale Месяц назад
OH I GET IT i installed python 3.12 from other repo, installed pygame-ce and pytmx then i ran it on the terminal...fantastic!
@Kokoz40
@Kokoz40 Месяц назад
WOW. Everything is amazing. And you are amazing for putting all the work and giving it to the world. THANK YOU P.S. How do I hide text in the brackets like at 4:40, where it shows { . . . } I use VSCode
@ClearCode
@ClearCode Месяц назад
next to functions, classes and while/for/if statements there should be an arrow if you have over the area to the left of the text, click on that and it will be collapsed. There is also a hotkey where you first press Ctrl + K and then Ctrl + 1, that collapses all functions and methods (stackoverflow.com/questions/42660670/collapse-all-methods-in-visual-studio-code for more detail)
@Kokoz40
@Kokoz40 Месяц назад
@@ClearCode Thank you very much. For everything :)
@ussjd9u3hd
@ussjd9u3hd Месяц назад
awesome tutorial but the voice is very calm
@MrBuccaneer1
@MrBuccaneer1 13 дней назад
Danke!
@ClearCode
@ClearCode 13 дней назад
Gerne :)
@kav6317
@kav6317 Месяц назад
petition to increase the volume of your voiceover. because I need to do full volume just to hear his voice
@ClearCode
@ClearCode Месяц назад
Will work on it!
@Griffin519x
@Griffin519x Месяц назад
I can hear him fine, but I’m using earbuds
@subarunatsuki1902
@subarunatsuki1902 Месяц назад
My childhood 😍
@official-phuh
@official-phuh Месяц назад
Thank you so much! But how do you make one blue version and one red version
@ClearCode
@ClearCode Месяц назад
Just limit the availability of some monsters; otherwise it's the same game
@official-phuh
@official-phuh Месяц назад
@@ClearCode "Clear Code used reasonable answer. It's super effective!"
@Kraigist
@Kraigist Месяц назад
At around the 6:52:00 mark, you calculate a self.animation_speed property in the MonsterSprite class but you don't actually use it in the animate method.
@korraprasadpraveen4333
@korraprasadpraveen4333 Месяц назад
❤❤❤
@pawan4920
@pawan4920 Месяц назад
YESSSIRRRR 🎉🎉🎉🎉🎉🎉
@imaguyyesmale
@imaguyyesmale Месяц назад
I want to play this
@aga1nstall0dds
@aga1nstall0dds Месяц назад
Oh wow
@aga1nstall0dds
@aga1nstall0dds Месяц назад
how do u debug the pirate game?
@HBHBILAL07
@HBHBILAL07 Месяц назад
I hope that the next video will be about Unreal Engine and a 3D game. Good luck
@chigstardan7285
@chigstardan7285 Месяц назад
I highly doubt that. He focuses on Godot and pygame plus some obscure python gui libraries. Also, his next video will be on the ultimate introduction to Godot 3d
@HBHBILAL07
@HBHBILAL07 Месяц назад
Thanks for the clarification, Bro. Do you know any channel like his, but it works on Unreal Engine? I would be very grateful to you if you knew. Once again, thanks, man.
@nurunnahar4398
@nurunnahar4398 Месяц назад
Sir, does the path defining in vs code will cause the code unable to run in general situations??
@ClearCode
@ClearCode Месяц назад
It will run fine, different code editors just behave slightly differently but it won't cause any major issue
@kznakai5089
@kznakai5089 Месяц назад
I love u so much ❤❤❤❤
Далее
Python / Pygame tutorial: Getting text input
16:36
Просмотров 72 тыс.
I built 10 web apps... with 10 different languages
14:23
МАЛОЙ ШАНТАЖИСТ
00:34
Просмотров 111 тыс.
ОВР Шоу: Русская баня @TNT_television
12:06
Why Minecraft Players Built a Real Life Supercomputer
23:24
I Made a Neural Network with just Redstone!
17:23
Просмотров 364 тыс.
CPU vs GPU vs TPU vs DPU vs QPU
8:25
Просмотров 1,5 млн
What Jumping Spiders Teach Us About Color
32:37
Просмотров 1,8 млн
Let's Make a Pokemon Game!
31:38
Просмотров 3,4 млн
Dear Apple - The iPad needs help.
11:47
Просмотров 1,5 млн
I Made the Same Game in 8 Engines
12:34
Просмотров 3,8 млн
Explaining what went weird with Ron Weasley
30:51
Просмотров 5 млн
I made Games with Python for 10 Years...
28:52
Просмотров 236 тыс.
МАЛОЙ ШАНТАЖИСТ
00:34
Просмотров 111 тыс.