Commit 7adf11eb by BellCodeEditor

auto save

parent 6606f4a0
Showing with 19 additions and 11 deletions
import pygame
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((100,600))
backgrond=pygame.image.load('bg.png')
road=pygame.image.load('rd.png')
stone=pygame.image.load('st.png')
ri=pygame.image.load('ri.png')
ben=pygame.image.load('ben.png')
qv=pygame.image.load('qv.png')
si=pygame.image.load('si.png')
hero=pygame.image.load('ho.png')
\ No newline at end of file
pygame.init()
screen = pygame.display.set_mode((1000, 600))
FPS = pygame.time.Clock()
background = pygame.image.load('bg.png')
road = pygame.image.load('road.png')
stone = pygame.image.load('stone.png')
cacti = pygame.image.load('cacti.png')
apple = pygame.image.load('bush.png')
hero = pygame.image.load('hero1.png')
index = 0
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