1. pygame
  2. Untitled project
  3. pygamegsoc12

Source

pygamegsoc12 / alchemymadness / resources.py

import pygame
import skelutil

background = None
block = None

def init():
    global background, block
    background = pygame.image.load(skelutil.data_dir("bg.png")).convert_alpha()
    block = pygame.image.load(skelutil.data_dir("block.png")).convert_alpha()