Homebrew Graphical Hello World for 3.0.0

vgmoose

Well-Known Member
OP
Member
Joined
Jan 31, 2016
Messages
362
Trophies
1
Website
github.com
XP
3,162
Country
United States
Updated to work with all firmwares now!

There are better ways to display text on screen now, but this program should still serve as a simple demo for people who want to get started.



I am in the process of porting some of my Wii U Homebrew to the Switch. While doing so, I found that I needed to be able to graphically display text on screen. I put the font drawing code into an easy to read hello world program, so that if people on 3.0.0 want to learn some simple programing, this may be a good start.

Link and instructions: https://github.com/vgmoose/sdl-hello-world

I can help provide support in this thread if people have issues getting this setup on their Switch/computer.

Also note that as of this time of writing, these instructions may change or become outdated as new stuff comes out. Particularly, drawing text this way isn't a great solution but it should be okay for a quick demo.
 
Last edited by vgmoose, , Reason: updated to 5.x

EvilG31

Member
Newcomer
Joined
Dec 31, 2017
Messages
21
Trophies
0
Age
35
XP
62
Country
United States
hello ! I use pegaswitch for the first time and when I type
evalfile usefulscripts/SetupNew.js
I get :
'no output'
why ?

Hey - I think you asked this in another thread too. 'no output' is normal - and you must run that or NROs won't load when you use runnro. (at least, that's what happened in my case.)

I figure the more threads we have a solution in, the better.
 
  • Like
Reactions: Xyphoseos

vgmoose

Well-Known Member
OP
Member
Joined
Jan 31, 2016
Messages
362
Trophies
1
Website
github.com
XP
3,162
Country
United States
For posterity, I have updated this program to work with 5.x. It also now supports both libtransistor and libnx, and you should be able to compile and run it with either! The readme is updated with instructions in case anyone wants to give this a shot.

Download: https://github.com/vgmoose/sdl-hello-world/releases
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,936
Trophies
1
Age
44
XP
6,806
Country
Germany

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
  • Spider2190 @ Spider2190:
    Heya
    Spider2190 @ Spider2190: Heya