FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Can we give sprite specific location to start from?
A
No
B
Yes
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -We cannot give sprite specific location to start from. Explanation: Sprites are uploaded; user created or can be found in the sprites library.

Detailed explanation-2: -Drag your sprite to where you want it to start. Then, click the Motion category. Drag a go to x y block into the Scripts area. Click on the block to try it.

Detailed explanation-3: -This is achieved by right-clicking on a sprite’s thumbnail in the sprite pane and then selecting “save to local file” in the pop-up menu. Every sprite has a coordinate pair, which tell you the position of it on the stage. Position of the sprite can be manipulated using Motion blocks.

Detailed explanation-4: -There are several blocks you can use to change a sprite’s position using coordinates. To find them, click the Motion button beside the Blocks Palette: glide 1 secs to x:0 y:0: This block makes your sprite glide across the screen to its new position.

Detailed explanation-5: -A sprite occupies a position (x, y) on the stage where x represents the horizontal position, from-240 (left) to 240 (right), and y represents the vertical position, from-180 (bottom) to 180 (top). Here’s a picture: The black sprite is at the center of the stage, called the origin, with coordinates (0, 0).

There is 1 question to complete.