Commit 7adf11eb by BellCodeEditor

auto save

parent 6606f4a0
Showing with 18 additions and 10 deletions
import pygame import pygame
from pygame import locals from pygame import locals
pygame.init() pygame.init()
screen=pygame.display.set_mode((100,600)) screen = pygame.display.set_mode((1000, 600))
backgrond=pygame.image.load('bg.png') FPS = pygame.time.Clock()
road=pygame.image.load('rd.png') background = pygame.image.load('bg.png')
stone=pygame.image.load('st.png') road = pygame.image.load('road.png')
ri=pygame.image.load('ri.png') stone = pygame.image.load('stone.png')
ben=pygame.image.load('ben.png') cacti = pygame.image.load('cacti.png')
qv=pygame.image.load('qv.png') apple = pygame.image.load('bush.png')
si=pygame.image.load('si.png') hero = pygame.image.load('hero1.png')
hero=pygame.image.load('ho.png') index = 0
\ No newline at end of file c
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment