Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pygame, world, FWC
- pygame.init()
- SCREEN_WIDTH = 800
- SCREEN_HEIGHT = 800
- win = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
- pygame.display.set_caption('Death Room')
- room = world.World()
- room.process_world()
- run = True
- while run:
- win.fill((0, 255, 0))
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- run = False
- FWC.wall_group.update()
- FWC.ceiling_group.update()
- FWC.floor_group.update()
- FWC.wall_group.draw(win)
- FWC.ceiling_group.draw(win)
- FWC.floor_group.draw(win)
- pygame.display.update()
- pygame.quit()
Add Comment
Please, Sign In to add comment