# 炎の型

## [炎の型工房に戻る](http://firefirestyle.net/)or [Gitbook@kyorohiroに戻る](https://www.gitbook.com/@kyorohiro)

[By kyorohiro](http://kyorohiro.github.io/)

![](https://217444697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAM0M7JOUD-V4IWDH5E%2F-LAM0vitizJ8VD79iODH%2F-LAM17TRQ6TONjiJOGIV%2Fcover.png?generation=1524026094049334\&alt=media)

## About

#### 内容

![](https://217444697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAM0M7JOUD-V4IWDH5E%2F-LAM0vitizJ8VD79iODH%2F-LAM15LCqnYvNVonaFCd%2Fabout.png?generation=1524026086340498\&alt=media)

本書では、Scratchを利用して、様々なゲームを作成していきます。 世界初のビデオゲームである「Tennise for two」、世界初のシューティングゲームである「Spacewar!」。アーケードでビデオゲームの地位を確立した「Pong」などのチュートリアルが収録されています。

### 注意

見れないページがある場合は、以下を参照いてください!!

<https://kyorohiro.github.io/firefirebook/index.html>

#### ことはじめ

本文書は、CoderDojo八王子にて進行を務めるにあたり、Kyorohiroがまとめたものです。

2015/08/16 の時点で、プログラム道場向けの日本語のプログラムのチュートリアルが少ない状態にあります。これらを、補強する目的として、チュートリアルの作成と公開をする事にしました。 どんどん追加していきます。 <https://www.gitbook.com/book/kyorohiro/firestyle/details>\
&#x20;<br>

#### LICENSES

<http://creativecommons.org/licenses/by/4.0/>

この文書のライセンスはCC0で配布しています。だいだいの権利を放棄しています。

まるっとコピーしても良いです。改変して配布しても良いですし。有料で利用してもらっても良いです。これらの事がkyorohiroの断りなくできます。

#### Table

* [Tennis For Two <難易度 中上>](https://firefirebook.firefirestyle.net/tennis_of_two)
  * [プロジェクトを作る](https://firefirebook.firefirestyle.net/tennis_of_two/create_project)
  * [ボールを追加する](https://firefirebook.firefirestyle.net/tennis_of_two/create_ball)
  * [自由落下](https://firefirebook.firefirestyle.net/tennis_of_two/free_fall)
  * [跳ねる](https://firefirebook.firefirestyle.net/tennis_of_two/bouncing_ball)
  * [左右に移動](https://firefirebook.firefirestyle.net/tennis_of_two/right_left)
  * [ボールを打つ](https://firefirebook.firefirestyle.net/tennis_of_two/shot_ball)
  * [Coatを作成する](https://firefirebook.firefirestyle.net/tennis_of_two/create_court)
  * [完成](https://firefirebook.firefirestyle.net/tennis_of_two/goal)
* [Spacewar!<難易度 上下>](https://firefirebook.firefirestyle.net/spacewar)&#x20;
  * [プロジェクトを作成する](https://firefirebook.firefirestyle.net/spacewar/create_project)
  * [太陽を作る](https://firefirebook.firefirestyle.net/spacewar/create_sun)
  * [ロケットと重力を作る](https://firefirebook.firefirestyle.net/spacewar/create_rocket)
  * [旋回機能を作る](https://firefirebook.firefirestyle.net/spacewar/create_spin)
  * [推進機能を作る](https://firefirebook.firefirestyle.net/spacewar/create_thrust)
  * [機雷発射機能を作る](https://firefirebook.firefirestyle.net/spacewar/create_fire)
  * [的を作る](https://firefirebook.firefirestyle.net/spacewar/createtarget)
  * [完成](https://firefirebook.firefirestyle.net/spacewar/goal)
* [Pong <難易度 中>](https://firefirebook.firefirestyle.net/pong)
  * [プロジェクトを作る](https://firefirebook.firefirestyle.net/pong/create_project)
  * [ラケットを作る](https://firefirebook.firefirestyle.net/pong/create_racket)
  * [ラケットを上下に移動させる](https://firefirebook.firefirestyle.net/pong/readme02)
  * [コースを追加](https://firefirebook.firefirestyle.net/pong/create_cource)
  * [ボールを追加](https://firefirebook.firefirestyle.net/pong/create_ball)
  * [ボールを移動させる](https://firefirebook.firefirestyle.net/pong/readme2)
  * [ボールが跳ね返る機能をついか](https://firefirebook.firefirestyle.net/pong/bouncing)
  * [勝ち負けを判定する](https://firefirebook.firefirestyle.net/pong/win_lose)
  * [打つ向きを変える](https://firefirebook.firefirestyle.net/pong/direction)
  * [完成!!](https://firefirebook.firefirestyle.net/pong/goal)
* [Tiny TETRIS<難易度 上上>](https://firefirebook.firefirestyle.net/tetris)
  * [Table](https://firefirebook.firefirestyle.net/tetris/table)&#x20;
  * [プロジェクトを作る](https://firefirebook.firefirestyle.net/tetris/create_project)
  * [ネコを削除する](https://firefirebook.firefirestyle.net/tetris/remove_neko)
  * [フィールドを作成する](https://firefirebook.firefirestyle.net/tetris/create_board)
  * [フィールドの状態を記述する](https://firefirebook.firefirestyle.net/tetris/create_board_state)
  * [フィールドに枠を表示する](https://firefirebook.firefirestyle.net/tetris/create_frame)
  * [テトロミノを表示する](https://firefirebook.firefirestyle.net/tetris/create_tetromino)
  * [テトロミノの種類を増やす](https://firefirebook.firefirestyle.net/tetris/create_tetriminos)
  * [テトロミノの衝突判定](https://firefirebook.firefirestyle.net/tetris/collision)
  * [下に移動する](https://firefirebook.firefirestyle.net/tetris/down)
  * [左右に移動する](https://firefirebook.firefirestyle.net/tetris/move_left)
  * [回転させる](https://firefirebook.firefirestyle.net/tetris/rotate_right)
  * [クリアする](https://firefirebook.firefirestyle.net/tetris/clear)
  * [テトロミノを落下させる](https://firefirebook.firefirestyle.net/tetris/fall_tetromino)
  * [完成!!](https://firefirebook.firefirestyle.net/tetris/goal)
* [Dojo:InkRunner <難易度 下上>](https://firefirebook.firefirestyle.net/ink_runner)&#x20;
  * [プロジェクトを作る](https://firefirebook.firefirestyle.net/ink_runner/create_project)
  * [xxxって何だろう?](https://firefirebook.firefirestyle.net/ink_runner/what_is_inkrunner)
  * [右に移動する](https://firefirebook.firefirestyle.net/ink_runner/move_character)
  * [左に移動する](https://firefirebook.firefirestyle.net/ink_runner/move_left)
  * [上下に移動する](https://firefirebook.firefirestyle.net/ink_runner/up_down)
  * [対戦相手を作る(1)](https://firefirebook.firefirestyle.net/ink_runner/fighting_game)
  * [対戦相手を作る(2)](https://firefirebook.firefirestyle.net/ink_runner/fighting_game_2)
  * [対戦相手を作る(3)](https://firefirebook.firefirestyle.net/ink_runner/fighting_game_3)
  * [完成!!](https://firefirebook.firefirestyle.net/ink_runner/goal)
  * [おまけ: Timer(1)](https://firefirebook.firefirestyle.net/ink_runner/bonus)
  * [おまけ: Timer(2)](https://firefirebook.firefirestyle.net/ink_runner/timer_2)
  * [おまけ: 判定](https://firefirebook.firefirestyle.net/ink_runner/judgement)
* [Practice:Gravity<難易度 下中>](https://firefirebook.firefirestyle.net/gravity)
  * [プロジェクトを作ろう](https://firefirebook.firefirestyle.net/gravity/create_project)
  * [地球を作る](https://firefirebook.firefirestyle.net/gravity/createsun)
  * [地球の位置とサイズを調整する](https://firefirebook.firefirestyle.net/gravity/readme2)
  * [月の大きさを調整する](https://firefirebook.firefirestyle.net/gravity/readme3)
  * [速度に応じて移動する](https://firefirebook.firefirestyle.net/gravity/create_speed)
  * [引力に応じて移動する](https://firefirebook.firefirestyle.net/gravity/createattraction)
  * [軌道を記録する](https://firefirebook.firefirestyle.net/gravity/readme2-1)
  * [完成!!](https://firefirebook.firefirestyle.net/gravity/goal)
  * \[おまけ:向きを計算してみる]
  * \[おまけ:距離を計算してみる]
* [Dojo:おにごっこ<難易度 下中>](https://firefirebook.firefirestyle.net/tag)
  * [プロジェクトを作ろう](https://firefirebook.firefirestyle.net/tag/create_project)
  * [右に逃げる](https://firefirebook.firefirestyle.net/tag/run_chara)
  * [左に逃げる](https://firefirebook.firefirestyle.net/tag/readme2)
  * [上下に逃げる](https://firefirebook.firefirestyle.net/tag/readme3)
  * [鬼を作る](https://firefirebook.firefirestyle.net/tag/oni)
  * [鬼が移動する](https://firefirebook.firefirestyle.net/tag/readme2-1)
  * [捕まった時の動作](https://firefirebook.firefirestyle.net/tag/tag)
  * [完成!!](https://firefirebook.firefirestyle.net/tag/goal)
* [Practice:ポリゴン<難易度 中上>](https://firefirebook.firefirestyle.net/polygon)
  * [プロジェクトを作る](https://firefirebook.firefirestyle.net/polygon/create_project)&#x20;
  * [ネコの表示を小さくする](https://firefirebook.firefirestyle.net/polygon/reduce_size)
  * [三角形を描く](https://firefirebook.firefirestyle.net/polygon/draw_polygon)
  * [Matrixを定義する](https://firefirebook.firefirestyle.net/polygon/matrix)
  * [Matrixの掛け算](https://firefirebook.firefirestyle.net/polygon/product)
  * [Z軸に対して回転](https://firefirebook.firefirestyle.net/polygon/rotatez)
  * [X軸に対して回転](https://firefirebook.firefirestyle.net/polygon/rotatex)
  * [Y軸に対して回転](https://firefirebook.firefirestyle.net/polygon/rotatey)
  * [完成!!](https://firefirebook.firefirestyle.net/polygon/goal)
  * [おまけ:Cubeを描く](https://firefirebook.firefirestyle.net/polygon/cube)
  * [おまけ:裏と表](https://firefirebook.firefirestyle.net/polygon/hiddensurface)
* [作業テーブル:パズドラッぽいの<難易度 上中>](https://firefirebook.firefirestyle.net/pazzdora)
  * [Table](https://firefirebook.firefirestyle.net/pazzdora/table)&#x20;
  * [完成!!](https://firefirebook.firefirestyle.net/pazzdora/goal)

## 入門者向け

炎の型は難易度が高めなので、 Scratchが初めての方向けに、Scratch を用いた プログラムの入門記事を書きました。

こたらも、どうぞ。

**火の型 Scratch 2.0 でプログラム入門**

<https://www.gitbook.com/book/kyorohiro/firestyle/details> ![](https://217444697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAM0M7JOUD-V4IWDH5E%2F-LAM0vitizJ8VD79iODH%2F-LAM19Bfjd07JpyzWqMF%2FFireStyle_000_00_003.png?generation=1524026102264218\&alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://firefirebook.firefirestyle.net/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
