Commit b483cc85 by BellCodeEditor

auto save

parent a5813387
Showing with 4 additions and 3 deletions
...@@ -26,9 +26,10 @@ setheading = right ...@@ -26,9 +26,10 @@ setheading = right
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.KRYDOWN: if event.type == locals.KRYDOWN:
y+=300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 y+=30
if event.type == locals.KEYUP: elif event.type == locals.KEYUP:
y-=300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 y-=3
elif event.type == locals.
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
......
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