# Switch (Nintendo)

### Introduction

FlatRedBall can be used to develop games for the Nintendo Switch. To develop games for the Nintendo Switch, your game should be using the FNA platform. To deploy to the Nintendo Switch you must:

* Target .NET 7 or newer
* Verify that your project compiles and runs using Native AOT
* Have Nintendo Switch hardware. You must register with the Nintendo Developer Program: <https://developer.nintendo.com/>

### FNA vs MonoGame

Both FNA and MonoGame can technically be used to develop games for the Nintendo Switch; however, the FNA path has a number of benefits:

1. FNA allows the use of modern .NET versions (7+). MonoGame requires translating code to C++ using BRUTE which does not support modern .NET and C# features. This is currently being worked on by the MonoGame team, but as of May 2024 there is no AOT solution.
2. As of December 2023, FlatRedBall MonoGame has yet to run on the Nintendo Switch. FlatREdBall FNA demos have been successfully deployed to switch.
3. The MonoGame team which was responsible for console support has been less active since 2021. The FNA team continues to be active as of December 2023.
4. More games have been deployed to consoles recently using FNA rather than MonoGame as of December 2023.
5. Internally, the FlatRedBall team is testing FNA and will provide support to any games which run into problems with FNA.


---

# 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.flatredball.com/flatredball/glue-reference/multi-platform/switch-nintendo.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.
