G2-C3-Teacher Copy

COLLISION EVENT

FOR PREPARATION & REFERENCE

Topic

 

Class Prerequisites

TA Steps

TA Code solution + Coding steps

Slide

Number

3

21

20-30

TA :    Teacher Activity    

SA :    Student Activity  

SAA : Student Additional
           Activity

TA

SA

WRAP UP

Quiz

VA +Concept

Activity Explanation

TA - Coding

SA - Steps

Quiz

 2 mins

 4 mins

1 mins

10 mins

10 mins

2 mins

4-6

8-18

19

20-30

31

SA - Code

32-34

35-37

8  mins

CLASS STRUCTURE

Activity

Flow

Topic

Time

Slide

Number

WARM UP

  FOR TEACHER:

  1. Computer with internet connection.

  2. Latest Chrome browser installed.

  3. Projector to present screen.

  FOR STUDENTS:

  1. Computer with internet connection.

  2. Latest Chrome browser installed.

PRE REQUISITES

Identify the correct sprite after changing the costume.

 1. 

 2. 

 3. 

Q.1

Name this event.

Birthday Event

Q.2

Key Press Event

Click Event

Touch Event

1

2

4

3

Click Event

2

Let's start with an activity.

Clap your hands and stomp your feet

Let's go to gaming zone.
Let's play balling!
Let me show you
I will 
try now

What happened here?

RECAP

Do you remember which activity we did in our previous class?

Help Sam fly into Space!

Let's help Sam again!

We will use a touch/collision event

Let's work on it.

CODING STEPS:

1. Create the Setup:

  • Add a background for the playground.

  • Add a boy sprite to the playground.

1. Create the Setup:

  • Add a spaceship sprite to the playground.

  • Add a print block to show message from world section.

CODING STEPS:

2. Adding Event:

  • Add a when clicked event block.

  • Change the costume of the boy sprite.

CODING STEPS:

3. Add key press event:

  • Add a left pressed event block.

  • Add moving west behavior to sprite begin block.

CODING STEPS:

4. Adding touch event:

  • Add a when sprite touch event.

  • Add remove Sprite block.

CODING STEPS:

4. Adding touch event:

  • Change background to Galaxy.

  • Add Sprite begin block with moving North behavior.

CODING STEPS:

4. Adding touch event:

  • Add "sprite begins" block with a "shrinking" behavior.

CODING STEPS:

COMPLETE CODE (CONTINUED...)

COMPLETE CODE

OUTPUT

STUDENT ACTIVITY 1- FLY ME TO SPACE

It's showtime for you!

FEW HINTS FOR YOU!

COMPLETE CODE (CONTINUED...)

COMPLETE CODE

Can you help in identifying this event?

Q.1

1

2

2

Identify the correct code block for this event.

Q.2

1

2

3

4

4

REFERENCE LINKS:

Activity No. Activity Name Link
Teacher Activity Demo Fly me to space demo
Teacher Activity 1 Fly me to space coding part 1
Student Activity 1 Fly me to space coding part 2

Copy of G2_C4_Collision Event

By Puja Roy

Copy of G2_C4_Collision Event

  • 217