WorksheetsG6-L7&8&9
Total questions: 15
Worksheet time: 8mins
Which sentence is the correct one for create sprite?
var shape= ellipse(200,200);
var forest= ellipse(200,200);
var createSprite=ellipse(200,200);
var shape=createSprite(200,200);
The animation is showed as the image.
The codes are:
var giraffe = createSprite(200, 200);
giraffe_tall.setAnimation("giraffe_tall");
drawSprites();
What is the problem of these codes?
It should be:
Sprite's name.setAnimation("Animation's name");
It should be:
Sprite's name.setAnimation("Sprite's name");
It should be:
Animation's name.setAnimation("Animation's name");
It should be:
Animation's name.setAnimation("Sprite's name");
Which group of code is correct?
var giraffe = createSprite(200, 200);
giraffe_tall.setAnimation("giraffe_tall");
drawSprites();
var giraffe = createSprite(200, 200);
giraffe.setAnimation("giraffe_tall");
drawSprites();
var giraffe = createSprite(200, 200);
giraffe.setAnimation("giraffe_tall");
drawSprite();
var giraffe = createSprite(200, 200);
giraffe_tall.setAnimation("giraffe_tall");
drawSprite();
This is the animation. Which followed code is for resize this giraffe?
var giraffe = createSprite(200, 200);
giraffe.setAnimation("giraffe_tall");
giraffe.scale=0.5;
drawSprites();
var giraffe = createSprite(200, 200);
giraffe.setAnimation("giraffe_tall");
giraffe_tall.scale=0.5;
drawSprites();
var giraffe = createSprite(200, 200);
giraffe.setAnimation("giraffe_tall");
drawSprites();
giraffe.scale=0.5;
var giraffe = createSprite(200, 200);
giraffe.setAnimation("giraffe_tall");
drawSprites();
giraffe_tall.scale=0.5;
Which code is for rotating sprites?
sprite.x=180;
sprite.rotation=180;
sprite.scale=180;
sprite.rotate=180;
Which code is for enlarging the animation
sprite.scale=6;
sprite.scale=0.6;
sprite.rotation=600;
sprite.enlarge=6;
Which group of codes can make biggest sprite?
var forest=createSprite(100,100);
forest.setAnimation("forest");
forest.scale=8;
drawSprites();
var forest=createSprite(100,100);
forest.setAnimation("forest");
forest.scale=0.8;
forest.height=0.8;
drawSprites();
var forest=createSprite(100,100);
forest.setAnimation("forest");
drawSprites();
forest.scale=800;
var forest=createSprite(100,100);
forest.setAnimation("forest");
drawSprites();
forest.scale=800;
forest.height=0.8;
Where is the center of the sprite?
var forest=createSprite(200,200);
forest.x=100;
(200,200)
(100,200)
(200,100)
(100,100)
var palette = createSprite();
palette.setAnimation("paint_palette");
palette.x = 100;
palette.y = 300;
drawSprites();
What is the image of result?
What is the result of these codes?
var bear=createSprite(200,200);
drawSprites();
Which one can make the sprite smaller? (Sprite's name: sprite)
sprite.scale=2;
sprite.scale=0.2;
sprite.shrink=0.2;
sprite.shrink=2;
Which code CANNOT make the sprite rotate?
sprite.scale=-1;
sprite.scale=1;
sprite.rotation=180;
sprite.rotation=-180;
Which is NOT correct?
sprite.scale=-10;
sprite.rotation=199;
sprite.alpa=100;
sprite.tint=90;
Which CANNOT change anything from the original result?
sprite.tint="red";
sprite.tint=90;
sprite.alpha=0.5;
sprite.alpha=10;
Which colour is the darkest?
sprite.alpha=0;
sprite.alpha=1;
sprite.tint=1;
sprite.tint=100;
