# Logic

<details>

<summary>TIPS FOR <strong>BEGINNERS</strong></summary>

**Get started faster with our 1 hour** [**Begin Game Maker**](https://docs.sandbox.game/en/creators/game-maker/beginners) **series**

Game Maker is easy to use to create interactive gameplay, but it also allows you to create more complex gameplay.

* [basics](https://docs.sandbox.game/en/creator/basics "mention") is a helpful guide to learn The Sandbox ecosystem. The [logic-and-gameplay](https://docs.sandbox.game/en/creator/basics/logic-and-gameplay "mention") introduces Game Maker's logic systems and common logic uses.
* Use Game Maker [docs](https://docs.sandbox.game/en/creator/game-maker/docs "mention") for technical details or ask questions in the [**Creators Forum**](https://forum.sandbox.game/).
* Beginners go through a period where the focus should be more on objects and quests. We recommend pushing your boundaries to create a simple HUD with [game-rules](https://docs.sandbox.game/en/creator/game-maker/docs/game-rules "mention").

</details>

<details>

<summary>TIPS FOR <strong>INTERMEDIATES</strong></summary>

**Dig deeper, but avoid polished logic so you can finish your game**

* Leverage logic better with our guidelines to [build-singleplayer-and-multiplayer-logic](https://docs.sandbox.game/en/creator/game-maker/docs/build-singleplayer-and-multiplayer-logic "mention") once you feel comfortable with singleplayer behaviors and components.
* Use our [game-rules](https://docs.sandbox.game/en/creator/game-maker/docs/game-rules "mention") documentation and [game-rules-guide](https://docs.sandbox.game/en/creator/game-maker/creative-guides/game-rules-guide "mention") to build more engaging gameplay mechanics and new game types.
* Explore our [experience-guide](https://docs.sandbox.game/en/creator/game-maker/creative-guides/experience-guide "mention") for comprehensive details and recommended resources to create different game types like survival, tower defense, resource management, etc.

</details>

> **Game Production Guide Navigation**\
> :red\_square:[concept](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/concept "mention")  :orange\_square:[blockout](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/blockout "mention")  :yellow\_square:[logic](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/logic "mention")  :green\_square:[art](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/art "mention")  \
> :blue\_square:[quality-assurance](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/quality-assurance "mention")  :purple\_square:[polish](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/polish "mention")  :white\_large\_square:[marketing](https://docs.sandbox.game/en/creator/game-maker/game-production-guide/marketing "mention")

## **3. ALPHA PRODUCTION**

{% hint style="info" %}
**NEW EASIER WORKFLOW!**

During this stage, you may choose to use placeholder assets to set up and test your logic while you're working on your project's custom assets. **Game Maker 0.9** includes a [**Replace Asset**](https://docs.sandbox.game/en/creator/docs/build-menus/side-bar#replace-asset) tool to replace one asset or every instance of the asset with a different one at any time. This process makes it easy to update your asset choices without losing the logic you've set up and tested.
{% endhint %}

{% hint style="success" %}
Follow the sequence below to manage your priorities for creating logic. This allows you to choose the level of complexity for your project based on your time, skills, and other factors and reduce bugs along the way.

Try to step outside of your comfort zone and try new things, but try not to bite off more than you can chew so your project can be completed. Gradually, you'll grow your creative skills!
{% endhint %}

{% tabs %}
{% tab title="Mission 1" %}

#### :blue\_circle::white\_circle::white\_circle::white\_circle::white\_circle: **Beginner - Basic Gameplay**

* Basic - object logic used to make a game flow

**Add Logic For Player Access**

* Teleports and checkpoints
* Doors and logic to open them (keys, buttons, detection, etc)
* Climbable objects needed to reach all areas

{% hint style="success" %}
If you choose to stop here, open [**Gameplay** ](https://docs.sandbox.game/en/creator/game-maker/docs/build-menus/top-bar/gameplay)to set global mechanics for ambience (light and sound) and easily customise your game.
{% endhint %}
{% endtab %}

{% tab title="Mission 2" %}

#### :blue\_circle::blue\_circle::white\_circle::white\_circle::white\_circle: **Novice - Intuitive Gameplay**

* Intuitive - quests integrated, markers added as cues
  {% endtab %}

{% tab title="Mission 3" %}

#### :blue\_circle::blue\_circle::blue\_circle::white\_circle::white\_circle: **Intermediate - Engaging Gameplay**

* Increased Fun - rules integrated for simple systems and more interesting mechanics

{% hint style="success" %}
Consider adding more advanced logic now if your team's level designer has already built logic to the intermediate level and already placed custom assets that are ready for use.
{% endhint %}
{% endtab %}
{% endtabs %}

## **4. BETA PRODUCTION**

{% tabs %}
{% tab title="Mission 4" %}

#### :blue\_circle::blue\_circle::blue\_circle::blue\_circle::white\_circle: **Advanced - Polished Gameplay**

* Polished - dialogue states for quests, VFX and sound
  {% endtab %}

{% tab title="Mission 5" %}

#### :blue\_circle::blue\_circle::blue\_circle::blue\_circle::blue\_circle: **Expert - Innovative Gameplay**

* Epic - Rules integration for advanced systems, NFT Sensor used for varied gameplay, clever design for replay value
  {% endtab %}
  {% endtabs %}


---

# 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://docs.sandbox.game/en/creator/game-maker/game-production-guide/logic.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.
