Sdl-Hello Switch

From GameBrew
sdl-hello
Sdlhellonx.png
General
Authorvgmoose
TypeDemos
Version1.1
LicenseMixed
Last Updated2018/07/21
Links
Download
Website
Source

This program draws "Hello world!" on the Nintendo Switch using a bitmap font.

The main code is in hello.c.

To see another simple SDL2 program with graphics and input, see spacenx, or for a more complicated one appstorenx.

Installation

Put the hello.nro file in sdmc:/switch/hello.nro and then run hbmenu in order to run this app.

Changelog

v1.1 2018/07/22

  • Updated to be able to compile with libtransistor or libnx.
  • See the readme for compilation info.

v0.1 2018/01/01

  • See the instructions in the readme for info on how to run this .nro file on your Switch.
  • Displays hello world on screen for 10 seconds.
  • EDIT Feb 3: updated nro to use new HB abi format.

External links

Advertising: