You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
660 B

import pygame, logging, urllib.request, io
from time import sleep
def r9k(window):
logging.warn("Look, you found a pepe!")
raw_image = urllib.request.urlopen("").read()
image_file = io.BytesIO(raw_image)
image = pygame.transform.scale(pygame.image.load(image_file), window.get_size())
window.blit(image, (0,0))
font = pygame.font.SysFont(None, 30, bold=False)
window.blit(font.render("A rare pepe has been found. Alert R9k", True, (0,0,0)), (window.get_width()/2-175, window.get_height()/2))