Go to file
Maschell ae12ae4a2a
Merge pull request #2 from vgmoose/master
update for 5.x and latest libtransistor
2018-07-22 11:29:50 +02:00
Makefile update to latest libt for 5.x 2018-07-22 01:28:37 -04:00
README.md update readme 2018-07-22 01:34:45 -04:00
draw.c update to latest libt for 5.x 2018-07-22 01:28:37 -04:00
draw.h First commit 2017-12-31 18:49:45 +01:00
hello.c update to latest libt for 5.x 2018-07-22 01:28:37 -04:00
hello.nro update to latest libt for 5.x 2018-07-22 01:28:37 -04:00
input.c update to latest libt for 5.x 2018-07-22 01:28:37 -04:00
input.h update to latest libt for 5.x 2018-07-22 01:28:37 -04:00

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).