You Should Know This By Now
Sprites
Sprite Properties
Text
Wild Card
100

This stores information so it can be reused later.

What is a variable?

100

This is what we call a character or object on the screen in Game Lab.

What is a sprite?

100

This sprite property controls left and right movement.

What is sprite.x?

100

This command is used to put words on the screen in Game Lab.

What is text()?

100

This is a name for someone who can't afford a snack from the Snack Store

What is a Brokie?

200

This keyword is used to create a variable in JavaScript.

What is var?


200

This function makes a sprite and gives it a position on the screen.

What is createSprite()?

200

This sprite property controls up and down movement.

What is sprite.y?

200

Just like shapes, text uses these two values to decide where it appears.

What are x and y coordinates?

200

This symbol tells the computer that a line of code is finished.

What is a semicolon?

300

This symbol means “gets the value of” when assigning a value to a variable.

What is =?


300

This function is required to actually make sprites appear on the screen.

What is drawSprites()?

300

This sprite property controls how big or small a sprite appears.

What is sprite.scale?

300

This parameter is the first thing you put into the text() command.

What is the actual text/words you want to show up on the screen?

300

DAILY DOUBLE: Do this in 30 seconds and get double the points!

The text is on the screen, but students can’t see it.
Add ONE line to the code below to fix the problem.

background("black");

text("Deez Nuts", 20, 30);


background("black");

fill("white");

text("Deez Nuts", 20, 30);


400

This function gives different values each time a program runs.

What is randomNumber()?

400

This function changes the image or animation that a sprite uses.

What is setAnimation()?


400

This sprite property controls how much a sprite is turned.

What is sprite.rotation?


400

These are required around the words you want to display using the text() command.

What are "quotation marks"?

400

What is the name of Mr. Cunningham's unborn child?

(I have mentioned it in class! Hint: It starts with an A!)

Who is Archimedes?

500

These four steps guide how we solve problems in programming.

What is Define, Prepare, Try, Reflect?

500

This happens if drawSprites() is written before the sprite is created.

What is nothing/the sprite not appearing?

500

This programming method uses a dot to change a sprite’s property.

What is dot notation?

500

This happens if you forget quotation marks when writing text in your code.

What is the program throwing an error or not showing the text?

500

Answer this simple math problem:

(120 ÷ 4) + (18 × 2) − 9 + 10

What is 67?

M
e
n
u