Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dion Tsang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Academany
Fab Academy
2024
Fab Academy 2024 Labs
Chaihuo Makerspace
Chaihuo Makerspace students
Dion Tsang
Commits
10026e36
Commit
10026e36
authored
5 months ago
by
@dion-tsang
Browse files
Options
Downloads
Patches
Plain Diff
Lesson 05
parent
8145caae
No related branches found
No related tags found
No related merge requests found
Pipeline
#503204
passed
5 months ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/assignments/ISAGeekClub/Lesson05.md
+10
-0
10 additions, 0 deletions
docs/assignments/ISAGeekClub/Lesson05.md
with
10 additions
and
0 deletions
docs/assignments/ISAGeekClub/Lesson05.md
+
10
−
0
View file @
10026e36
...
...
@@ -2,6 +2,10 @@
## 课前复习 Recap - Creat pygame window and add a cube
这段代码是对我们上节课内容的回顾,
**找找看:你还记得哪句代码可以画出一个矩形吗?**
里面的参数分别控制什么内容呢?试试看吧,_参数 0 修改为 -1_ 会有惊喜喔!
你仅需复制这段代码到编辑器,即可修改代码:
```
python
import
pygame
...
...
@@ -40,6 +44,10 @@ pygame.quit()
## Heroshot: Moving the cube - Horizontally!🌎🤫
复制这段代码,了解如何控制物品水平方向移动;
等等,你还能控制方块垂直方向移动吗?
斜方向的移动呢?
```
python
import
pygame
...
...
@@ -80,6 +88,8 @@ pygame.quit()
## Chanllenge:Rising Smoke!飘烟挑战
如果你能走到这里,说明你的学习能力还真的不错!试试挑战一下,让烟雾飘起来吧!!
```
python
import
pygame
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment