How to Create a Character Designer

Материал из Поле цифровой дидактики

Шаблон:StubШаблон:Wiki Standards Character designers are projects where the viewer designs a character. There are many types of character designers, this will show how to make a basic one.

Preparation

Create three sprites:

  • The character who will get dressed (the sprite Harper can be used in character designers, which is built into Scratch)
  • Boy button
  • Girl button

Create one message:

  • broadcast (show v)

Code

The following is the code for the character when the program has been started:

when green flag clicked
go to x: (-174) y: (-8)
hide

Put the following code for the boy button:

when green flag clicked
go to x: (23) y: (36)

when this sprite clicked
broadcast (boyshow v)

See Also