LoginSignup
9
13

More than 5 years have passed since last update.

Scratchでテトリス(Tetris)を作ってみた

Last updated at Posted at 2015-10-23

スクラッチでのテトリス(tetris)の作り方

Scratch で テトリスの作り方についてまとました。
c.jpg

本文では、概要を紹介します。ここでは、工程のみですが、作り方がわかると思います。

(1) プロジェクトを作る

(2) ネコを削除する

(3) フィールドを作成する

board.png

(4) フィールドに状態を持たせる。枠とか空とかテトロミノとか

test.png

(5) フィールドに枠を表示する

board_2.png

(6) テトリスを表示する

tetrimino.png

(7) (6)以外のテトロミノを表示する

tetrimino.png

(8) テトロミノの衝突判定

board_2.png

(9) 下に移動する

https://kyorohiro.gitbooks.io/doc_scratch/content/tetris/down/index.html
board_2.png

(10) 左右に移動する

board_2.png

(11) 回転させる

board_2.png

(12) 揃った列をクリアする

board_4.png

(13) 落下させる

https://kyorohiro.gitbooks.io/doc_scratch/content/tetris/fall_tetromino/index.html
board_2.png

(14) 完成です。

あとは、点数をつけたり、してみてください。


Kyorohiro Work

9
13
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
9
13