Scratch post4: Alternando as fantasias durante o movimento
Autor: Rafael Spada | Publicado: 2015-06-08T17:02:00-03:00

A ideia de trabalhar com fantasias (aparência) dos atores dentro do Scratch traz muitas possibilidades. Hoje vamos ver um exemplo para fazer o ator movimentar-se enquanto são alternadas as fantasias para dar a ideias dos passos.

Veja também a vídeoaula sobre Conceitos Básicos de Scratch

Vamos aos passos:

1 - Definir as fantasias do ator

Tomaremos como exemplo o próprio ator Cat. Ele possui duas fantasias originais, mas as duas são viradas para o mesmo lado. Precisamos criar uma cópia de cada e inverter a imagem. Veja no vídeo:






<embed src="https://www.youtube.com/get_player" type="application/x-shockwave-flash"
width="800" height="450" bgcolor="#FFFFFF"
flashvars="flvurl=https://redirector.googlevideo.com/videoplayback?requiressl%3Dyes%26id%3D2222c258efbb4680%26itag%3D5%26source%3Dblogger%26app%3Dblogger%26cmo%3Dsecure_transport%253Dyes%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1494541325%26sparams%3Drequiressl,id,itag,source,ip,ipbits,expire%26signature%3D943F87E288F40FC84E4C0AEC7342A6E7B7B392D7.AC3BA0B93BF005C9CAA20ACB2F7DC33E88E3C56E%26key%3Dck2&iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D2222c258efbb4680%26offsetms%3D5000%26itag%3Dw160%26sigh%3Db2eN4G5Wi3kKYIPmhQxLjpY0EIw&autoplay=0&ps=blogger"
allowFullScreen="true" />



2 - Criar os movimentos

Agora teremos que fazer com o o ator se movimente pelo Palco.





<embed src="https://www.youtube.com/get_player" type="application/x-shockwave-flash"
width="800" height="450" bgcolor="#FFFFFF"
flashvars="flvurl=https://redirector.googlevideo.com/videoplayback?requiressl%3Dyes%26id%3D727791d2d52feabd%26itag%3D5%26source%3Dblogger%26app%3Dblogger%26cmo%3Dsecure_transport%253Dyes%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1494541325%26sparams%3Drequiressl,id,itag,source,ip,ipbits,expire%26signature%3D705CAB65F38E113680597DC6AE9898BA33692F6D.BC32C2B337D4B1E829D1701317D66DD44F392698%26key%3Dck2&iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D727791d2d52feabd%26offsetms%3D5000%26itag%3Dw160%26sigh%3D5VBrjGFUJ2QKd65T0M_f7GaSEoc&autoplay=0&ps=blogger"
allowFullScreen="true" />



3 - Mudar a fantasia

Enquanto o nosso querido Cat se movimenta pelo palco, vamos fazer com que sejam alternadas as fantasias que criamos. (Obs: A qualidade do vídeo não permite a correta visualização da troca de fantasias, mas capriche no seu que vai aparecer direitinho).






<embed src="https://www.youtube.com/get_player" type="application/x-shockwave-flash"
width="800" height="450" bgcolor="#FFFFFF"
flashvars="flvurl=https://redirector.googlevideo.com/videoplayback?requiressl%3Dyes%26id%3D6c05c54fa2879ff4%26itag%3D5%26source%3Dblogger%26app%3Dblogger%26cmo%3Dsecure_transport%253Dyes%26cmo%3Dsensitive_content%253Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1494541325%26sparams%3Drequiressl,id,itag,source,ip,ipbits,expire%26signature%3D5504615C729196D23DD05E96DD244863B9086D17.96D8B506144C6A3DD7931CAE8422411F58A19B12%26key%3Dck2&iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D6c05c54fa2879ff4%26offsetms%3D5000%26itag%3Dw160%26sigh%3D4C8uxkQjdBZdadP35Yp49p2pgmk&autoplay=0&ps=blogger"
allowFullScreen="true" />


Faça download do projeto clicando AQUI.