Skip to content

carstene1ns/switch-sdl2-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini SDL Demo

featuring SDL2 + SDL2_mixer + SDL2_image + SDL2_ttf on Nintendo Switch using libnx

Building

You need SDL2, SDL2_image with png support, SDL2_mixer with ogg support and SDL2_ttf.

Switch:

Get devkitA64 + the switch-sdl2_mixer, switch-sdl2_image and switch-sdl2_ttf portlibs.

make

Linux:

./make_linux

Running

Switch:

Use nx-hbmenu.

Linux:

./sdl2_demo

Controls

Switch (Controller):

  • UP/DOWN: rendering speed
  • B: show drawing trail
  • Minus: close

Linux (Keyboard):

  • UP/DOWN: rendering speed
  • B: show drawing trail
  • Escape: close

Screenshot

screenshot

License

(c) 2018-2021 carstene1ns, provided under ISC license, see LICENSE.md for details.

The included font has been put in the public domain.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published