featuring SDL2 + SDL2_mixer + SDL2_image + SDL2_ttf on Nintendo Switch using libnx
You need SDL2, SDL2_image with png support, SDL2_mixer with ogg support and SDL2_ttf.
Get devkitA64 + the switch-sdl2_mixer
, switch-sdl2_image
and
switch-sdl2_ttf
portlibs.
make
./make_linux
Use nx-hbmenu
.
./sdl2_demo
- UP/DOWN: rendering speed
- B: show drawing trail
- Minus: close
- UP/DOWN: rendering speed
- B: show drawing trail
- Escape: close
(c) 2018-2021 carstene1ns, provided under ISC license, see LICENSE.md for details.
The included font has been put in the public domain.