Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sdl-Hello Switch: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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 12:47, 6 July 2024

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: