How to Make Full Screen and Resizable Python Games with Pygame!

How to Make Full Screen and Resizable Python Games with Pygame!

LeMaster Tech

1 год назад

10,113 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mostafa Sameer
Mostafa Sameer - 29.10.2023 21:36

Obviously, that's a good suggestion. But, I want to run a simulation which operates in pygame. How can I combine two screen into one full screen using your codes. Thanks in advance.

Ответить
NUKE
NUKE - 24.10.2023 19:59

What is a good tutorial about how to keep the red square in the center?
I have a game made in python but when I do this - everything is on the top left corner... How can I make everything move to the center?

Ответить
Reigner chigozie Nnadozie
Reigner chigozie Nnadozie - 06.09.2023 03:39

Hey man love the work, i hope you don't get mad at me for asking but how do I make the project adjustable with the screen size i know you talked about it but you didn't do it again I'm just asking i hope it's a good enough question to answer

Ответить
Ja J
Ja J - 14.08.2023 21:07

So I thought i could just create a ratio variable using screen width divided by screen height to use as a constant to multiply everything by so if i resize the window that number reflects that resize and I can just use it with all my blit x ys and so on.

Ответить
Poly Saha
Poly Saha - 28.06.2023 19:27

Helpful?
: Obviously!

Ответить
Antoine Van Geyseghem
Antoine Van Geyseghem - 03.06.2023 02:00

°0 °

Ответить
Linklu13
Linklu13 - 01.05.2023 19:21

Hi, thanks for the video, how do you dynamically scale every visuals ? For example i have already made textures for a 800x600 window and i want to extend them to the fullsized screen.

Ответить
Paipai
Paipai - 30.04.2023 10:43

This might be a more advanced topic, but screen sizes and fullscreen comes with its own set of problems when it comes to balancing and making sure the player doesn't see outside of the intended areas. Scaling the size of objects or fog of war is what comes to mind. Would love to see a video covering this issue

Ответить
Terry Chang
Terry Chang - 24.04.2023 19:03

Were thinking about make a playable RPG game with Pygame several month ago, however it's just The Arabian Nights.
But, making some useful tools with pygame is a good idea for sure. Thanks to your pac-man tutorial released previously, I came up with some idea to make a GO game(Traditional Chinese/Japanese board game) record tool, which can help me record out my gameplays.
Thank you sensei!!!

Ответить