< Return to Video

How To Make A Sprite

  • 0:00 - 0:07
    [upbeat music]
  • 0:07 - 0:08
    It's time to dig in to
  • 0:08 - 0:11
    some fun features of Sprite Lab.
  • 0:11 - 0:14
    The first thing to do is to setup a Sprite.
  • 0:14 - 0:16
    To add a Sprite, you can use the
  • 0:16 - 0:19
    "make a new sprite" block.
  • 0:19 - 0:21
    This block lets you give
  • 0:21 - 0:24
    your Sprite a costume and a location.
  • 0:24 - 0:26
    If you want to change the Sprite's location,
  • 0:26 - 0:29
    you can click the pin in the "location" block,
  • 0:29 - 0:34
    and then click where you want it to go.
  • 0:34 - 0:36
    You can change the size of your Sprites too.
  • 0:36 - 0:37
    To make a Sprite smaller,
  • 0:37 - 0:40
    you can use the "set size" block and
  • 0:40 - 0:43
    then type in a number that is less than 100.
  • 0:43 - 0:45
    If you have two or more Sprites
  • 0:45 - 0:46
    with the same costume,
  • 0:46 - 0:50
    this will change all of them at once.
  • 0:50 - 0:52
    Now, let's get the sprite moving
  • 0:52 - 0:54
    by using a behavior.
  • 0:54 - 0:55
    You can start by giving the Sprite
  • 0:55 - 0:58
    the "spinning right" behavior.
  • 0:58 - 1:00
    Once a behavior begins, it will
  • 1:00 - 1:02
    run over and over again forever,
  • 1:02 - 1:06
    or until you tell it to stop.
  • 1:06 - 1:07
    And that's all there is to it.
  • 1:07 - 1:09
    Now it's your turn.
  • 1:09 - 1:13
    [upbeat music fades away]
Title:
How To Make A Sprite
Description:

more » « less
Video Language:
Spanish (Spain)
Team:
Code.org
Project:
CSF '21-'22
Duration:
01:17
odscaptioning edited English subtitles for How To Make A Sprite
odscaptioning edited English subtitles for How To Make A Sprite
odscaptioning edited English subtitles for How To Make A Sprite

English subtitles

Revisions Compare revisions