2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

移動しながらコスチュームを変更する

Last updated at Posted at 2021-12-06

キャラクターが歩く時など、スプライトのコスチュームを変更してアニメーションさせたい時があります。ただ、Scratch 3.0ではフレームレートが30FPS(=1秒間に30回書き換える)と仕様が決まっているので、何も工夫せずにコスチュームを変更するとせかせかとしたアニメーションになってしまいます。
そこで、画面書き換えの何回かに1回だけコスチュームを書き換えるようにしてみましょう。これで、少ないコスチュームでもそれなりに見られるアニメーション効果が出せます。

サンプルプロジェクト

スクリーンショット

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?