Menus - Pygame Tutorial

preview_player
Показать описание
Menus (or different "screens") are something I get a lot of questions about. Menus are actually pretty simple to implement once you understand the basic concept behind them.

The script:

Discord:

Twitter:

This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.

#pygame #gamedevelopment
Рекомендации по теме
Комментарии
Автор

would love to see a full series on how to make RPG game. Like basic mechanics, systems.

Simon-ikkb
Автор

Actually figured this out on my own surprisingly. Saw this vid and wanted to compare our code, turns out its pretty similar! Thanks for the videos!

Garfield
Автор

You legend. Giving each screen its own game loop is such a good idea.

RobinNeville
Автор

I thought this vid was fantastic. I'm trying to get into the whole programming language thing almost from scratch. I've done a couple of really good python tutorials on line so I can get the gist of what's going on here. But this is many levels on from my current ability and it is truly inspiring and exciting to watch.
An amazing vid in my opinion. Thank you so much for posting.

Ambrjack
Автор

yes YES this is what i was thinking and this video immediately popped up youtube algorithm is good

zackydev
Автор

Nice Video!
A great explanation, easy and with no missunderstandings, such video I looked for.

thanks man!

cardinel
Автор

Watched tons of videos an didn't quite understand until watching your video! Great work!

rgblogic
Автор

I have never used the commend section before, but today I got so much core input in 3 min... nice video and thank you

fabihoerlnein
Автор

You are a real benediction for us the beginners ! Thanks a lot !

hugolml
Автор

This is a fantastic tutorial - very easy to follow and understand. Thank you!

LiquidLogic
Автор

Great video that explains using different screens perfectly!

emtydoctrine
Автор

Need more of this! If you could and have the time I’d like to see how you make a fully developed menu.

MSTennis
Автор

Thank you for this, wishing you best of luck

ayushmoghe
Автор

wow men! thanks a lot, very nice tutorial and very nice menus! :O

dubpperofi
Автор

this code helped us so much!! Thank you

keerthipranavi
Автор

You are amazing. ❤ Even Chat gpt doesn't make it this simple

SchwiftyFingers
Автор

This is the part where you clutch that sweet-sweet inheritance quirk

angelluisgarciaguzman
Автор

I somehow understand this now, so thanks a lot!

WiddleGwoblin
Автор

No questions, just want to say I enjoyed the info and examples man. Thanks from someone using pygame and eyetracking for his thesis

FoonDeath
Автор

I was testing and running before the whole thing finished and I was getting weird errors about syntax for "button_2 = pygame etc...
More specifically the "b" in button was highlighted, but it had no problem with button_1 = py..etc
I checked all my other syntax and I couldn't find a reason but I copied the pastebin and it was the exact same, no issues! lol. Thanks! This helped me grasp the refreshing of the screens while switching functions/menus/screens.

DeeMasta