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
(Created page with "{{Infobox Switch Homebrews |title=sdl-hello |image=sdlhelloswitch.png |description=Graphical hello world program |author=vgmoose |lastupdated=2018/07/21 |type=Developments |version=1.1 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch.7z |website=https://github.com/vgmoose/sdl-hello-world |source=https://github.com/vgmoose/sdl-hello-world |donation= }} {{#seo: |title=Switch Homebrew PC Tools (Developments) - GameBrew |title_mode=append |im...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=sdl-hello
|title=sdl-hello
|image=sdlhelloswitch.png
|image=sdlhellonx.png
|description=Graphical hello world program
|description=Draw "hello world" on the screen of the Nintendo Switch.
|author=vgmoose
|author=vgmoose
|lastupdated=2018/07/21
|lastupdated=2018/07/21
|type=Developments
|type=Demos
|version=1.1
|version=1.1
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/sdlhellonx.7z
|website=https://github.com/vgmoose/sdl-hello-world
|website=https://github.com/vgmoose/sdl-hello-world
|source=https://github.com/vgmoose/sdl-hello-world
|source=https://github.com/vgmoose/sdl-hello-world
|donation=
|donation=
}}
}}
{{#seo:
{{obsolete}}
|title=Switch Homebrew PC Tools (Developments) - GameBrew
This program draws "Hello world!" on the Nintendo Switch using a bitmap font.
|title_mode=append
 
|image=sdlhelloswitch.png
The main code is in [https://github.com/vgmoose/sdl-hello-world/blob/master/hello.c hello.c].
|image_alt=sdl-hello
}}
{{cleanup|article|Needs cleanup}}
Graphical hello world program


==Media==
To see another simple SDL2 program with graphics and input, see [https://github.com/vgmoose/spacenx spacenx], or for a more complicated one [https://github.com/vgmoose/appstorenx appstorenx].
<youtube></youtube>


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


==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-01.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-04.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-07.png
https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v1.1 2018/07/22'''
* First Release.
*Updated to be able to compile with libtransistor or libnx.
*See the [https://github.com/vgmoose/sdl-hello-world/blob/master/README.md 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 ==
== External links ==
* Gbatemp - https://github.com/vgmoose/sdl-hello-world
* GitHub - https://github.com/vgmoose/sdl-hello-world
* Github - https://github.com/vgmoose/sdl-hello-world
* Reddit -

Revision as of 03:05, 3 Haziran 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: