Search Header Logo

course2 lesson21

Authored by Academy OneSpace

Computers

2nd Grade

Used 1+ times

course2 lesson21
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the right syntax to add a custom goal

myGoal=game.addCustomGoal(“defeat the ogre”)

myGoal=game.addManualGoal(“defeat the ogre”)

myGoal=game.addGoal(“defeat the ogre”)

myGoal=game.addManualGoal(defeat the ogre)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Set the custom goal myGoal to success.

game.setCustomGoal(myGoal, Success)

game.setGoalState(myGoal, Success)

game.setGoalState(myGoal, True)

game.setCustomGoal(myGoal, True)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the defeat() method do?

Makes the hero attack and defeat the enemy

Makes the enemy defeat the hero

Can be used to defeat a character or an object that has health property

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can we use  the event type “collect” for?

To make the player collects an item

Make the pet collect an item

To create an event when the enemy collects an item

To create an event when the player collects an item 

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the destroy() method do?

Can be used to destroy a character or an object and make it disappear from the game.

Makes the enemy destroy the hero

Makes the hero destroy the enemy

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can we use  the event type “collide” for?

To create an event when a character collides with an object

Make the pet collides with an object

To create an event when objects are collided

To make the player collides with an object

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this function onCollect do?

t makes the player collects a gem and say “ I got a gem”

The player will say “I got a gem” and the score inreases by 5 if it collects a gem.

It makes the player collect a gem and say “ I got a gem” and increase the score by 5

The player will say “I got a gem”  if it collects a gem.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?