Ask coding questions

← Back to all posts
I can't see my maze how do I fix my screen?
Fantasticben

Hi can anyone help me fix the screen for my maze I can't see it at the moment and I'm not sure why

Voters
lCBl
Fantasticben
Comments
hotnewtop
[deleted]

Solution

You need to scroll up a bit to see it.

HermioneGrange2

make the screen big enough to see either the bottom or the top of your graphics, and drag that so you can see the entire maze.

Fantasticben

@HermioneGrange2 i fixed that too already so sorry

RYANTADIPARTHI

that is a common problem people face when using pygame. ust try to drag the top of the screen downwards.
you should be able to see it then.

if that doesn't work, then report this to bugs.

https://repl.it/bugs

19wintersp

@RYANTADIPARTHI Is this PyGame?

Fantasticben

@19wintersp it's python

RYANTADIPARTHI

@Fantasticben nvm. Your wn.setup needs to change the width, and height. to match the screen.

Fantasticben

@RYANTADIPARTHI Do you know what the size is?

Fantasticben

@RYANTADIPARTHI The maze is too zoomed in how do I make it zoom out

RYANTADIPARTHI

@Fantasticben change your wn.setup() values. to your need.

Fantasticben

@RYANTADIPARTHI I keep changing the values but It's still zoomed in how do I zoom it out?

19wintersp

You can make the window fit properly to the screen by amending line 11 to this:

That should make the window dock to the top-left corner of the screen.

Fantasticben

@19wintersp I tried it and It didn't work

Fantasticben

@19wintersp How do I maze it Zoom out It's too zoomed in

Fantasticben

@19wintersp Can I change that and use something elese not really sure what a Fluxbox is

Fantasticben
19wintersp

@Fantasticben You can make it have scrollbars, actually. I don't think there's another way if your output window is too small. Do:

Fantasticben

@19wintersp is there really not anything else I could use to fit the whole screen before it wasn't like this I logged in after a bit and after I clicked to see my work the screen was like that

19wintersp

@Fantasticben If resizing the output window doesn't make it fit, you won't really be able to (as far as I'm aware, which isn't far)