pygame.display.set_mode((800,400))
这句话的意思是?
python4-lesson02
Quiz
•
Computers
•
4th - 12th Grade
•
Medium
hang zheng
Used 8+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pygame.display.set_mode((800,400))
这句话的意思是?
创建一个高为800,宽为400的游戏窗口
创建一个宽为800,高为400的游戏窗口
创建一个宽为800,高为400的背景图片
创建一个高为800,宽为400的背景图片
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pygame.QUIT 是pygame中的什么事件
游戏开始事件
键盘按下事件
游戏退出事件
鼠标移动事件
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在游戏窗口中,每一个掉落的代码雨字母其实是?
一张字母图片
一个字符串
一个实例
一张背景图
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在渲染图片的过程中,是先画背景图还是先画每一张字母图片?
背景图片
字母图片
字母和背景同时画
随机排序,没有先后之分
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如果不画背景图,只画字母图片,会产生什么样的效果?
字母只出现在第一行,不会落下
屏幕正常显示,代码雨正常落下
屏幕全黑,没有任何图案
所有的帧图案进行重叠,代码铺满整个屏幕
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pygame.time.delay(30)这句代码的作用是?
让程序等待30秒
让程序等待30毫秒
让程序等待30微妙
让程序每秒显示30帧的画面
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
bg.fill(pygame.Color(0, 0, 0,20))表示给背景图设置颜色,第4个参数表示透明度,如果现在想将背景图设置为绿色,完全不透明,那么括号中的参数应该如何填写
(0,255,0,255)
(0,255,0,0)
(0,0,255,0)
(0,0,255,255)
9 questions
4年级设计与工艺单元6电脑编程,我最行
Quiz
•
4th Grade
11 questions
和平精英
Quiz
•
1st - 12th Grade
13 questions
CTHW P4 電腦科評估
Quiz
•
6th Grade
15 questions
python4-lesson04
Quiz
•
4th - 12th Grade
10 questions
五年级设计与工艺(单元三)
Quiz
•
4th - 6th Grade
15 questions
认识电脑(2011~2018年)
Quiz
•
6th - 8th Grade
11 questions
S13.4 电脑程式设计的概念
Quiz
•
9th Grade
10 questions
《第十二章》练习3
Quiz
•
11th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
12 questions
Dividing Fractions
Quiz
•
6th Grade
9 questions
1. Types of Energy
Quiz
•
6th Grade