""" ----------------------------------------- Project: Escape Drake Standard: 91896 (2.7) School: Tauranga Boys' Collage Auther: Hunter Moss Date: May 2024 Python: 3.11.2 ----------------------------------------- """ #Imports import pygame from pygame.locals import * import pickle pygame.init() #Screen Size screen_width = 1000 screen_height = 1000 screen = pygame.display.set_mode((screen_width,screen_height)) pygame.display.set_caption('Escape Drake') #GAME VERABLES tile_size = 50 game_over = 0 main_menu = True level = 1 max_levels = 3 #Define colours white = 255, 255, 255 #load images trog_img = pygame.image.load('Images/dngn_altar_trog.png') background_img = pygame.image.load('Images/Background.png') def draw_grid(): for line in range(0, 20): pygame.draw.line(screen, (white), (0, line * tile_size), (screen_width, line * tile_size)) pygame.draw.line(screen, (white), (line * tile_size, 0), (line * tile_size, screen_height)) run = True while run: screen.blit(background_img, (0,0)) screen.blit(trog_img, (0,0)) draw_grid() for event in pygame.event.get(): if event.type == pygame.QUIT: run = False pygame.display.update() pygame.quit()