Sprites
What does the 2nd number on the sprite block control?(14, ?, 45, 30)
sprite.y=sprite.y+1 means....
Sprite is moving down
To control the movement of a sprite or shape you must have this inside the function
If
All sprite interactions must happen within this code.
Function
sprite.rotation=sprite.rotation-5
The sprite is rotating counterclockwise at 5.
sprite.velocityx=-5
The sprite is moving to the left at 5
If{keyDown(Space)
sprite.velocityY=sprite.velocityY+5
}
The Sprite will accelerate downward at 5
var bee =createSprite (200,200)
bee.setAnimation (¨bumblebee¨)
sprite.scale (2)
Creates a bee sprite in the middle of the screen and makes it twice as big.