https://github.com/justin-credible/switch-breakout
🎮 A simple Breakout clone for the Nintendo Switch.
https://github.com/justin-credible/switch-breakout
breakout-game libnx nintendo-switch nintendo-switch-homebrew
Last synced: 11 months ago
JSON representation
🎮 A simple Breakout clone for the Nintendo Switch.
- Host: GitHub
- URL: https://github.com/justin-credible/switch-breakout
- Owner: Justin-Credible
- License: mit
- Created: 2020-04-06T06:27:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-06T23:59:45.000Z (about 6 years ago)
- Last Synced: 2025-06-28T01:06:35.263Z (12 months ago)
- Topics: breakout-game, libnx, nintendo-switch, nintendo-switch-homebrew
- Language: C
- Homepage:
- Size: 355 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Breakout for Nintendo Switch
This is a very simple version of Breakout written in C using [`libnx`](https://github.com/switchbrew/libnx) for the Nintendo Switch. This was a quick learning exercise to get acquainted with developing homebrew software on Nintendo's Switch game console.

## Compiling and Running
You'll need a Nintendo Switch game console capable of running homebrew software. See the following links for more details:
* [NH Switch Guide](https://nh-server.github.io/switch-guide/)
* [Homebrew Guide](https://switch.homebrew.guide/index)
* [Introduction to Homebrew development](https://switch.homebrew.guide/homebrew_dev/introduction)
First, install `devkitPro`, `devkitA64`, and the `switch-dev` package (see above links) and then clone and build the source:
```
git clone git@github.com:Justin-Credible/switch-breakout.git
cd switch-breakout
make
```
This will build a `switch-breakout.nro` file (among others) which can be copied to `sd:/switch/` and launched via hbmenu.
Additionally, the `nro` can be loaded over the network using hbmenu's NetLoader functionality. This allows `stdout` to be shown on your computer. Start NetLoader on the Switch and then run:
```
nxlink -s switch-breakout.nro
```