Lesson 3 - Making Realistic Movements

In this session, you will be making the boy walk across the surface of Mars.

  1. You will make the boy 'Glide' from point to point (tweening).
  2. You will make the boy 'Hide' and 'Show' when he walks behind the big rock.
  3. You will make him 'Glide' from the rock to the edge of the screen and 'Hide' again.

Children who finish or are confident on this task:

You will edit a new file where we make the Martian appear after a short time 'hiding'

How to build our animation. There is an extension below too.

A closer look at the final script with a #comment (the # is used in coding to tell the people using your script that this is not part of the code).

Extension

Why might I have added these block in here. Which blocks are they? And, what do they do?


Mini Project: Create movement by yourself with grow, shrink and disappearing behind an object.

Click this image to take you to the project to practice making a 'Sprite' move up and down.

This is what you will see in the this file when you open it (You can click on either image to open the Scratch file). Remember to hit REMIX to see the file and make it your own.


KeywordDefinition
SpriteAn object in Scratch which performs functions controlled by scripts
StageThe background of a project, performs functions through scripting
BlockBlocks make up scripts, which make a project work
ScriptA script is a collection or stack of blocks that all interlock with one another. The blocks and their order are very important, as they determine how sprites interact with each other and the backdrop.
Green FlagSometimes simply called the 'flag,' this is what starts most projects' scripts running
TweeningMoving between two points - given in coordinates X , Y
CommentsSometimes, comments are attached to scripts to explain what certain blocks do and what the script's purpose is.
X PositionThe position that a sprite or the mouse is at along the horizontal axis
Y PositionThe position that a sprite or the mouse is at along the vertical axis

Learning Intentions:

Can I code?

Can I create realism?

Teachers: Scratch project Link.

Success Criteria:

I can use code blocks in a precise order.

I can make my sprites move, hide, shrink and play sound.

I can test and re-test my code to create precise movement.

Resources
Life on Mars images Link
Life on Mars Scratch file and Link
Google Slides and Link
Martian Extension and Link
ClassroomCode and Link
Mr Glenn: 4T55p1kh Class
Mr Glenn: 4A
o9fta4  Class
Mr Glenn: 4C
1g165d Class
Mr Glenn: 4K
xrwahu Class