#๐ screen not fitting please help
42 messages ยท Page 1 of 1 (latest)
@jolly zealot
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
this is the code, the full map screen is not fitting my laptop screen , it is going out of my screen. please help me
someone help
Check the resolution and scale of your screen, windows has these things in Display Settings
i have checked it
its 1920*1080
its not making any diffrence
i can't see the full thing
please me brother
some one help me please
what's the size of the map image
how will i make it to fit my screen
pygame.transform.scale
my laptop resolution is 1920*1080 and the resolution of the pic is also same
do i need to add this to the code
your window size is smaller tho
now the image is
if it both has the same resolution it should fit right?
yes
but you should just use pygame.transform.scale on your map image to make it fit to whatever resolution is the window's
where should i put that code
game_map = pygame.image.load('map2.png').convert() -> game_map = pygame.transform.scale(pygame.image.load('map2.png').convert(), [WIDTH, HEIGHT])
something like that
do i want to add this code
uuuuh maybe??? idk what you want
aside from the fact that you got a double assignement for who knows what it seems aight
what will i do now
idfk i dont see an issue
anyway thank u for the help brother
yaa sometimes my brain will not brain properly
i got it
i know how to fix it
pls stop pinging me
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.