Presentation is loading. Please wait.

Presentation is loading. Please wait.

© LaunchPad Learning Inc. All rights reserved.

Similar presentations


Presentation on theme: "© LaunchPad Learning Inc. All rights reserved."— Presentation transcript:

1 Empowering students with the skills required to lead the way in hi-tech world.

2 © LaunchPad Learning Inc. All rights reserved.
Section 1 Introduction © LaunchPad Learning Inc. All rights reserved.

3 © LaunchPad Learning Inc. All rights reserved.
Scratch Homepage © LaunchPad Learning Inc. All rights reserved.

4 © LaunchPad Learning Inc. All rights reserved.
Let’s meet Sprite Demo side Your Canvas © LaunchPad Learning Inc. All rights reserved.

5 © LaunchPad Learning Inc. All rights reserved.
Let’s try a few things Task: 1 Change the background of demo screen. © LaunchPad Learning Inc. All rights reserved.

6 © LaunchPad Learning Inc. All rights reserved.
Import Sun Task: 2- Lets import sun © LaunchPad Learning Inc. All rights reserved.

7 © LaunchPad Learning Inc. All rights reserved.
Make Sun Smaller Task: 3 Decrease the size of sun © LaunchPad Learning Inc. All rights reserved.

8 © LaunchPad Learning Inc. All rights reserved.
Lets Import 2 planets Task: 4 Import Earth and make it smaller Import Saturn and make it smaller Now you should have three sprites. © LaunchPad Learning Inc. All rights reserved.

9 Section 1b Let’s start the code
© LaunchPad Learning Inc. All rights reserved.

10 © LaunchPad Learning Inc. All rights reserved.
Where to code? You have to code under scripts © LaunchPad Learning Inc. All rights reserved.

11 First we will set positions of all planets
© LaunchPad Learning Inc. All rights reserved.

12 © LaunchPad Learning Inc. All rights reserved.
What are coordinates © LaunchPad Learning Inc. All rights reserved.

13 © LaunchPad Learning Inc. All rights reserved.
X axis X axis © LaunchPad Learning Inc. All rights reserved.

14 © LaunchPad Learning Inc. All rights reserved.
Y axis Y axis © LaunchPad Learning Inc. All rights reserved.

15 Let’s guess the coordinates
© LaunchPad Learning Inc. All rights reserved.

16 © LaunchPad Learning Inc. All rights reserved.
Place the Sun Where is the sun in the solar system? Lets put the Sun in the Centre (Origin) at 0,0 © LaunchPad Learning Inc. All rights reserved.

17 © LaunchPad Learning Inc. All rights reserved.
Place the Saturn © LaunchPad Learning Inc. All rights reserved.

18 © LaunchPad Learning Inc. All rights reserved.
Place the Earth Is the earth or Saturn closer to sun? © LaunchPad Learning Inc. All rights reserved.

19 © LaunchPad Learning Inc. All rights reserved.
Step 2 © LaunchPad Learning Inc. All rights reserved.

20 © LaunchPad Learning Inc. All rights reserved.
Pen Command What do clear and “pen down” commands do? Lets put these on both Saturn and Earth © LaunchPad Learning Inc. All rights reserved.

21 © LaunchPad Learning Inc. All rights reserved.
Step 3 © LaunchPad Learning Inc. All rights reserved.

22 Point In Direction Command
What direction will planets go in? UP (0) © LaunchPad Learning Inc. All rights reserved.

23 © LaunchPad Learning Inc. All rights reserved.
Step 4 © LaunchPad Learning Inc. All rights reserved.

24 © LaunchPad Learning Inc. All rights reserved.
Loops Instruction to computer to repeat Repeat a portion of code for a set number of times. Let’s learn about loops with an example. © LaunchPad Learning Inc. All rights reserved.

25 Let’s make 1 PBJ Sandwich
How many repetitions required for 500 sandwiches? What do you need to make one peanut butter and jam sandwich? Start Spread Peanut butter on one slice Spread jam on one slice Put both slices together End © LaunchPad Learning Inc. All rights reserved.

26 © LaunchPad Learning Inc. All rights reserved.
Loops in Scratch Loops in scratch are called “repeat” and “forever”. Repeat command runs for a certain number of type. © LaunchPad Learning Inc. All rights reserved.

27 Lets use loops on our planets
© LaunchPad Learning Inc. All rights reserved.

28 © LaunchPad Learning Inc. All rights reserved.
Step 5 © LaunchPad Learning Inc. All rights reserved.

29 © LaunchPad Learning Inc. All rights reserved.
Move Command Now we have to move our planets. Let’s learn how to move earth © LaunchPad Learning Inc. All rights reserved.

30 © LaunchPad Learning Inc. All rights reserved.
Move Command Now we have to move our planets. Let’s learn how to move Saturn © LaunchPad Learning Inc. All rights reserved.

31 © LaunchPad Learning Inc. All rights reserved.
Step 6 © LaunchPad Learning Inc. All rights reserved.

32 © LaunchPad Learning Inc. All rights reserved.
Turn Command Do planets move in straight line or around the sun? Planets revolve around the sun We will learn how to revolve our 2 planets around the sun by using “Turn” command. © LaunchPad Learning Inc. All rights reserved.

33 © LaunchPad Learning Inc. All rights reserved.
Turn Command © LaunchPad Learning Inc. All rights reserved.

34 © LaunchPad Learning Inc. All rights reserved.
Step 7 © LaunchPad Learning Inc. All rights reserved.

35 © LaunchPad Learning Inc. All rights reserved.
Rocket Create a new sprite. This sprite should be hidden in the beginning It should only appear once space is pressed Also add a new backdrop (planets) © LaunchPad Learning Inc. All rights reserved.

36 © LaunchPad Learning Inc. All rights reserved.
Rocket Sprite © LaunchPad Learning Inc. All rights reserved.

37 © LaunchPad Learning Inc. All rights reserved.
Hide Other Sprites Task A: Hide Other Sprites © LaunchPad Learning Inc. All rights reserved.

38 © LaunchPad Learning Inc. All rights reserved.
Moving the Rocket Task B: Launch the rocket, make it move to the top, then in the stars. The rocket moves only when you click on it. © LaunchPad Learning Inc. All rights reserved.

39 © LaunchPad Learning Inc. All rights reserved.
Homework Repeat the same with 2 more planets © LaunchPad Learning Inc. All rights reserved.

40 © LaunchPad Learning Inc. All rights reserved.
That’s it for today Thank You !!!! © LaunchPad Learning Inc. All rights reserved.


Download ppt "© LaunchPad Learning Inc. All rights reserved."

Similar presentations


Ads by Google