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

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

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

1. あなたの [スタイルモデルの学習が完了したら](/docs/jp/gmudezain/train-a-style-model.md)、Morphicで新しいファイルを開きます
2. プロンプトバーで、生成したいアセットの種類を説明します
3. プロンプトバーのスタイルモデルのドロップダウンから、ゲームのビジュアルスタイルに合うように学習済みモデルを選択します
4. 「生成」をクリックしてアセットを作成します
5. ゲームで使用したい生成されたアセットを選択します
6. セグメンテーションまたはレイヤー機能を使って、アセットを背景から分離します
7. 抽出したい主要な要素（例：銃、剣、トラック）を示すために、含めるポイントを追加します
8. 背景の周囲に除外ポイントを追加して、それらのオブジェクトをシーンから分離し、きれいに切り分けるのに役立てます
9. 「セグメント」ボタンをクリックして、選択したオブジェクトを背景から分離します
10. 分離したアセットを自由に移動させるか、必要に応じて別のフレームに配置します
11. お好みの形式でアセットを書き出します（現在、PNG、JPEG、またはWebPに対応しています）

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

***

### サポートへのお問い合わせ

お困りのことやご質問があれば、どうぞお気軽にお問い合わせください。喜んでお手伝いします。こちらまでご連絡ください： [**support@morphic.com**](mailto:support@morphic.com)**.**


---

# 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://morphic.com/docs/jp/gmudezain/generating-in-game-assets.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.
