mirror of
https://github.com/Maschell/PushA_NX.git
synced 2024-11-25 01:06:53 +01:00
draw.c | ||
draw.h | ||
hello.c | ||
hello.nro | ||
input.c | ||
input.h | ||
Makefile | ||
README.md |
PUSH A for Switch
Based on: https://github.com/vgmoose/sdl-hello-world
Back to the roots. Back in 2008 I started with writing homebrew on Wii. The first "game" I created was "Push A".
Now, almost 10 years later, I quickly wrote a new version for the Switch.
Have fun!
Huge thanks to vgmoose, based on his examples!.
Compiling
For Switch
Clone and setup libtransistor, for more detail see this post.
git clone --recursive https://github.com/reswitched/libtransistor.git
cd libtransistor
make
cd ..
Setup sdl-libtransistor and export an environment variable pointing to your libtransistor build:
export LIBTRANSISTOR_HOME=/opt/libtransistor
git clone https://github.com/reswitched/sdl-libtransistor.git
cd sdl-libtransistor
make -f switch.mk
cd ..
Compile with make:
make
Running
See these instructions on how to use Fusee Gelee to run this homebrew on most Switches as of this time of writing (22/07/2018).