Skip to content

Instantly share code, notes, and snippets.

@extrasleepy
Created November 13, 2023 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extrasleepy/c787b0c563c8a7de36f64194cf73ea75 to your computer and use it in GitHub Desktop.
Save extrasleepy/c787b0c563c8a7de36f64194cf73ea75 to your computer and use it in GitHub Desktop.
import pygame
import sys
# Initialize Pygame
pygame.init()
# Set display resolution
screen_width = 1024 # Change this to your screen's width
screen_height = 600 # Change this to your screen's height
# Create the screen surface
screen = pygame.display.set_mode((screen_width, screen_height), pygame.FULLSCREEN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment