Commit f69b1179 by BellCodeEditor

save project

parent 9ef38fae
Showing with 2 additions and 1 deletions
...@@ -17,10 +17,11 @@ x,y=240,120 ...@@ -17,10 +17,11 @@ x,y=240,120
postltion=[(180,90),(180,120),(210,120),(x,y)] postltion=[(180,90),(180,120),(210,120),(x,y)]
while True: while True:
x += 30 x += 30
setheading="right"
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
if event.type==locals.Keydown
postltion.append((x,y)) postltion.append((x,y))
postltion.pop(0) postltion.pop(0)
......
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