Commit 47706d7b by BellCodeEditor

auto save

parent c6188a1e
Showing with 5 additions and 5 deletions
import pygame
import pygame # 导入pygame模块
# 初始化pygame,为使用pygame做准备
pygame.init()
pygame.init() # init()作用,初始化pygame模块
# 创建一个窗口
??
\ No newline at end of file
# 创建一个窗口,调用pygame.display.set_mode()方法,并赋值给变量screen
screen = pygame.display.set_mode((660, 480)) # 双括号,外括号参数括号,里括号元组括号
\ 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