Sdl-Hello Switch: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
Line 2: Line 2:
|title=sdl-hello
|title=sdl-hello
|image=sdlhellonx.png
|image=sdlhellonx.png
|description=Draw "hello world" on the screen of the Nintendo Switch.
|description=Draw 'hello world' on the screen of the Nintendo Switch.
|author=vgmoose
|author=vgmoose
|lastupdated=2018/07/21
|lastupdated=2018/07/21

Latest revision as of 06:29, 12 July 2023

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: