Commit 95bd07a5 by BellCodeEditor

save project

parent 9763c7cc
Showing with 2 additions and 2 deletions
import pygame
from pygame import locals
import random
#
pygame.init() # 初始化
# 创建一个窗口
screen = pygame.display.set_mode((1000, 600))
......@@ -33,7 +33,7 @@ while True:
exit()
if jumpState == "runing":
if event.type == locals.KEYDOWN:
if event.key == locals.K_ww:
if event.key == locals.K_w:
jumpState = "up"
if jumpState == "up": # 起跳
if t>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