|
Computer Science Home
6th Grade Tech Ed
7th Grade Computer Science
8th Grade Computer Science A
Gmail
Google Drive
Google Classroom
Infinite Campus
Typing.com
(Join Class through Google Classroom)
Schoology
Code.org
Tynker Coding Website
Tynker Resource Page
Tynker Online Support Video Help
Quizlet | Quizlet LIVE
Everfi
Khan Academy
Social Media Tips
Netsmartz
Code HS
Karel the Dog class code: 1251
CSTA Standards
ISTE Standards
|
User Interaction (6)
In this lesson, you will program input controls to move Actors.
New Code Blocks
: Change the x-coordinate of an Actor by the specified number of pixels.
Objectives
you will...
- Use keyboard (web) or tilt controls (mobile) to move characters
- Create unique controls to move Actors
1. Move to Collect Power Cells (Video)
- You will watch a short video that introduces the upcoming programming activity.
- Read the captions on the screen - if your speaker or headset is not on.
2. Move Back and Forth Example (Example)
- You will view an interactive project of Gus moving, which they will create your own version of in the next module!
- You use your left and right arrow keys (web) or tilt your screen left and right (mobile) to move Gus.
- You to click the red button to move on to the next module.
3. Move Back and Forth (DIY)
- In this DIY (do-it-yourself) project, you will program Gus to respond to keyboard (web) or tilt (mobile) commands!
- You use “change x by” block uses both positive and negative values to make Gus move horizontally (left-right).
- Check that you understand that the background doesn’t shift Gus to the left--his code moves him independently of other Actors (i.e., the Stage).
4. Move and Collect Power Cells (Puzzle)
- To solve this puzzle module, you will need to program Gus to move back and forth to catch power cells!
- HINT: You use a negative 10 (-10) value inside one of the “change x by” blocks to make Gus move backwards (to the left).
5. Make Actors Move Example (Example)
- you will view a project where the alien moves when arrow keys (web) or tilt controls (mobile) are used.
6. Make Actors Move (DIY)
- In this DIY project, you will program an Actor to move up, down, left, and right using keyboard (web) or tilt (mobile) controls!
- Remember: “change y by” block moves the Actor up and down,
depending on the value inside the block.
For example, a “-10” will move the Actor down, whereas a “10” will move the Actor up.
***Went you are using the x & y positions, and NOT the point in the direction of block
7. Quiz (Multiple Choice)
- You will answer 5 multiple choice questions to review concepts covered in this lesson.
U.S. Standards
- K-12 CTSA Computer Science Standards (Revised 2017)
Computer Science Teachers Association:
- 1B-AP-10
- 1B-AP-11
- 1B-AP-12
- 1B-AP-15
- 2-AP-12
- 2-AP-13
- 2-AP-15
- 2-AP-16
- 2-AP-17
CCSS-Math: MP.1
- CCSS-ELA: RF.5.4.A, 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
- CS CA: 3-5.AP.10, 3-5.AP.12, 3-5.AP.13, 3-5.AP.14, 3-5.AP.17, 6-8.AP.12, 6-8.AP.13, 6-8.AP.16, 6-8.AP.17
- ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b
|