# MonoGame \[…]

Monogame är ett ramverk för att göra spel – lite som [Raylib ](/annat/raylib.md)men lite mer komplicerat. Däremot är det från början skrivet för C#, all dokumentation och alla tutorials för MonoGame är skrivna för C# vilket gör det lite lättare att hitta hjälp.

{% hint style="info" %}
Mer info kommer, sidan är bara påbörjad
{% endhint %}

## Installera MonoGame och MCGB Editor

Kör följande kommandon i terminalen:

```
dotnet new install MonoGame.Templates.CSharp
dotnet tool install --global dotnet-mgcb-editor
```

Det första kommandot installerar MonoGames-mallarna så att du kan skapa nya MonoGame-projekt.

Det andra kommandot installerat verktyget MCGB editor, som du kommer att behöva för att lägga in bilder och annat innehåll (MCGB står för Monogame Content Builder Tool).


---

# 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://csharp.progdocs.se/annat/monogame.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.
