> For the complete documentation index, see [llms.txt](https://morphic.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://morphic.com/docs/jp/game-design/generating-in-game-assets.md).

# ゲーム内アセットの生成

Morphicでは、スタイル参照を作成して視覚的一貫性を保ち、AI機能を使ってゲームデザインや開発パイプラインで使用するアセットを生成できます。

Morphicでゲーム内アセットを生成する簡単なチュートリアルはこちらです：

{% embed url="<https://youtu.be/Ymp5ttNEEw4>" %}

1. 一度 [スタイル参照が準備できたら](/docs/jp/game-design/train-a-style-model.md)、Morphicで新しいファイルを開きます
2. プロンプトバーに、生成したいアセットの種類を記述します
3. プロンプトバーの保存済み参照から、ゲームのビジュアルスタイルに合うスタイル参照を選択します
4. 「Generate」をクリックしてアセットを作成します
5. ゲームで使用したい生成済みアセットを選択します
6. セグメンテーションまたはレイヤー機能を使って、アセットを背景から分離します
7. 含めるポイントを使って、抽出したい主要要素（例：銃、剣、トラック）を指定します
8. 背景の周囲に除外ポイントを追加して、それらのオブジェクトをシーンから切り離し、きれいに分離しやすくします
9. 「Segment」ボタンをクリックして、選択したオブジェクトを背景から分離します
10. 分離したアセットを自由に移動したり、必要に応じて別のフレームに配置したりできます
11. お好みの形式でアセットを書き出します（現在、PNG、JPEG、またはWebPに対応しています）

これで、ゲーム内アセットを生成し、背景からきれいに分離して、プロジェクトで使うために書き出すことができます。

***

ご不明な点やお困りのことがあれば、お気軽にご連絡ください。喜んでお手伝いします。以下までご連絡ください [**support@morphic.com**](mailto:support@morphic.com)**.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://morphic.com/docs/jp/game-design/generating-in-game-assets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
