> For the complete documentation index, see [llms.txt](https://docs.anyrpg.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyrpg.org/getting-started/building-your-game.md).

# Building Your Game

## Strip Unused Resources Folders

By default, Unity will include the content of any folder named "Resources" in your build.  Since all the demo games use *Resources* folders, it is important to strip them before building, or their content will end up being included in your build, increasing its size.

To strip the demo games, open the Welcome Window by clicking **Tools -> AnyRPG -> Welcome Window** and click on the STRIP ALL DETECTED DEMO GAMES button.

<figure><img src="/files/pQhP8fUUGjsnrVCeD77y" alt=""><figcaption></figcaption></figure>

## Build The Game

Open the Build Profiles window from the main toolbar by clicking **File -> Build Profiles**.  Ensure the build profile for your game is active, and ensure that the game loading scene is the first scene in the list.  Click *Build* or *Build and Run*.

<figure><img src="/files/rbhMLWmn9mQ5qbh6RbbS" alt=""><figcaption></figcaption></figure>

## Next Steps

Reference [Unity build profile documentation](https://docs.unity3d.com/6000.3/Documentation/Manual/build-profiles.html) to learn more about builds in Unity.


---

# 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:

```
GET https://docs.anyrpg.org/getting-started/building-your-game.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.
