You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
by changing the first few lines of runner.py these windows can be comfortably opened in the upper right corner of the user's screen:
import pygame
import os
pygame.mixer.pre_init(frequency=22050, size=-16, channels=2)
# Add code before pygame.init() to position window that will be opened.
# This will cause any windows created to be opened at 40, 40
x = 60
y = 80
os.environ['SDL_VIDEO_WINDOW_POS'] = "%d,%d" % (x,y)
pygame.init()
Note that 'import os' must be moved (shifted) up several lines in the code to make this work.
The text was updated successfully, but these errors were encountered:
by changing the first few lines of runner.py these windows can be comfortably opened in the upper right corner of the user's screen:
Note that 'import os' must be moved (shifted) up several lines in the code to make this work.
The text was updated successfully, but these errors were encountered: