forked from obiwac/python-minecraft-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
CrispyFlowe edited this page Mar 8, 2022
·
4 revisions
Welcome to the python-minecraft-clone wiki!
This wiki page Write by CrispyFlowe
If you have problem when you using Mac: if the size was only 1/4, like this
Then, you can try to change like this:

def on_resize(self, width, height):
print(f"Resize {width} * {height}")
# before: gl.glViewport(0, 0, width, height)
gl.glViewport(0, 0, width * 2, height * 2) # multiply width & height by 2
self.camera.width = width
self.camera.height = height
It will be normal:

- CrispyFlowe
If you still have problem, you can contact me at
- Youtube - 1: https://www.youtube.com/channel/UCzD7B_hlD90RUaCyHZzBmWg
- Youtube - 2: https://m.youtube.com/channel/UCMJBARUQArhtbNp7v13n1RQ
- Github: https://github.com/CrispyFlowe
- Gmail: (1) cflowe1357@gmail.com | (2) cflowetourist@gmail.com