Sign In

Nintendo Switch Discussion

#241✎ 967YttriaWhat I found interesting about the new screenshots is that they seem to imply that either or both
1) The editor is written in SmileBASIC
2) The screen can be split between the editor and a running program, not just multiple editor frames
Posted 4 months ago

#242✎ 169012Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfRenaming PRINT to TPRINT was a good idea, but if ? doesn't still exist I'm quitting SB forever.
EDIT:
I looked more closely at the screenshot. It seems there are multiple text layers or something, since TPRINT, CLS, and LOCATE all take an extra argument.
I bet PRINT still exists and TPRINT is just a version that uses the "layer" argument.
Posted 4 months ago
Edited 4 months ago
by 12Me21

#243✎ 198MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthDrawingI like to draw!HobbiesReadingI like to read books!HobbiesI always found it strange that the SB editor seemed to be written in SB. I wonder why they do that.
Posted 4 months ago
Edited 4 months ago
by MZ952

#245✎ 101LohadLAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsStaff Pick"Your program is one of our favorites!" - StaffAchievementsPokemon Is Awesome!I love Pokemon!Express Yourself

if ? doesn't still exist I'm quitting SB forever.
It seems there are multiple text layers or something, since TPRINT, CLS, and LOCATE all take an extra argument.
I bet PRINT still exists and TPRINT is just a version that uses the "layer" argument.

Not sure if you're joking or not; I just don't see you leaving for something like that :p
PRINT is still there, in one of the tutorial screenshots. Don't see why they would take away ? either.
It may well be as you said, probably a simpler command to allow text on even graphic pages, without having to use PRINT and GPUTCHR separately.
TPRINT #WIN,"おしえて欲しいことを選んでください" prints out the title of the window in the lesson list screenshot.
And Y_ack you're too amazing.
I can't make out that many lines of code even if I squint.
Posted 4 months ago
Edited 4 months ago
by LohadL

#246✎ 169012Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express Yourself
Named sprite variables!
Also there's a TYPEOF function but I'm not sure how it works. (Wouldn't it just throw an error if you try to assign something other than a string to N$?)

And Y_ack you're too amazing.
I can't make out that many lines of code even if I squint.

You just have to adjust the brightness/contrast and look at different screenshots to see the missing parts:
Posted 4 months ago
Edited 4 months ago
by 12Me21

#247✎ 967YttriaEdit: If you missed it in the GUIDE.PRG listing above, MAINCNT() is now a builtin function.

Named sprite variables!
Also there's a TYPEOF function but I'm not sure how it works

Also SPLAYER (not in pcmini version), the possibility that the OSK is an SB program, the suggestion that programs might be able to run on different layers (if you believe the prior assumption), and, if you're of the "all the constants shown are just expanded builtins" camp, builtin constants for UI and keyboard sprite IDs (the alternative being a better example of user-defined constants).

in this screenshot there's also file paths of the format
"#S/GUIDE/[PLG]\d\d.TXT", which reminds me that since this is based on pasocom mini/pistarter version, multilevel directory structures should be possible.

And Y_ack you're too amazing.
I can't make out that many lines of code even if I squint.

#248✎ 458aucepsFirst YearMy account is over 1 year oldWebsiteBeginner ProgrammerI'm just starting out! I'm still trying to grasp the basics.Programming Strengthosu! Is Awesome!I love osu!Express YourselfI can't help but speculate about SB4's builtin program sharing platform.
With all the features they're showing off, it's pretty much guaranteed to be more than a key-based system... right?
Posted 4 months ago
Edited 4 months ago
by auceps

#249✎ 967YttriaWhy would that be? What do the features shown have to do with the distribution system?
The early top menu "screenshots" show otherwise, anyway.
Posted 4 months ago

#250✎ 101LohadLAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsStaff Pick"Your program is one of our favorites!" - StaffAchievementsPokemon Is Awesome!I love Pokemon!Express YourselfThe distribution system is via public keys as usual, indeed.
SB still needs to do self-policing, and monitoring public keys is the easiest method.
If they don't catch naughty people uploading naughty programs, Nintendo will do the heavy-handed policing for them, i.e. taking SB off eshop. That would be bad.
Posted 4 months ago

#251✎ 597IAmRalseiForum LeaderHiddenAchievementsFirst YearMy account is over 1 year oldWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthBesides, it was already confirmed that SB4 and SB3 were sharing the same server.
Posted 4 months ago
Edited 4 months ago
by IAmRalsei

#253✎ 26BraveChampion48Beginner ProgrammerI'm just starting out! I'm still trying to grasp the basics.Programming StrengthMinecraft Is Awesome!I love Minecraft!Express YourselfVideo GamesI like to play video games!Hobbies@IAmRalsei Are you finished with the Bomberman project? It's been a while. -_-
Posted 4 months ago

#254✎ 597IAmRalseiForum LeaderHiddenAchievementsFirst YearMy account is over 1 year oldWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strength

@IAmRalsei Are you finished with the Bomberman project? It's been a while. -_-

No threadjacking.
also, i was assuming i was going to recieve a public key for the sprites sent to me and was waiting for them to start development.
Now, let's get back on topic.
Posted 4 months ago
Edited 4 months ago
by IAmRalsei

#255✎ 12XenoslyceVideo GamesI like to play video games!HobbiesNight PersonI like the quiet night and sleep late.Express YourselfIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthAlright, hands on deck. We're going to have to make a PetitModem for 3DS to Switch, because I doubt they'll make a 3DS to Switch import system. Correct me if I'm wrong.
Posted 4 months ago

#256✎ 327spaceturtlesVideo GamesI like to play video games!HobbiesAvatar BlockI didn't change my avatar for 30 days.WebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming Strength

Alright, hands on deck. We're going to have to make a PetitModem for 3DS to Switch, because I doubt they'll make a 3DS to Switch import system. Correct me if I'm wrong.

That can be fixed if sboom allows switch sb to download with 3ds keys. Other than that and hopefully local multiplayer compatibilities a new version of pmodem for the switch does seem necessary and if the author(s) of the original pmodem have been paying attention and notice the switch, then it's likely they may care enough to do it
Posted 4 months ago

#257✎ 169012Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express Yourself

Alright, hands on deck. We're going to have to make a PetitModem for 3DS to Switch, because I doubt they'll make a 3DS to Switch import system. Correct me if I'm wrong.

Also now that you can connect a USB keyboard, it should be pretty easy to just make some kind of keyboard emulator for file transfer.
It might not be possible for a normal computer to emulate a USB slave device, though. But you could use an arduino (https://www.arduino.cc/reference/en/language/functions/usb/keyboard/) or something.
For output you can just use audio or screenshots.
I wonder if they'll even add microphone input support since I don't think the switch has a builtin microphone (it can get input through the headphone jack like the 3DS though)
Posted 4 months ago
Edited 4 months ago
by 12Me21

#258✎ 597IAmRalseiForum LeaderHiddenAchievementsFirst YearMy account is over 1 year oldWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strength

Alright, hands on deck. We're going to have to make a PetitModem for 3DS to Switch, because I doubt they'll make a 3DS to Switch import system. Correct me if I'm wrong.

Also now that you can connect a USB keyboard, it should be pretty easy to just make some kind of keyboard emulator for file transfer.
It might not be possible for a normal computer to emulate a USB slave device, though. But you could use an arduino (https://www.arduino.cc/reference/en/language/functions/usb/keyboard/) or something.
For output you can just use audio or screenshots.
I wonder if they'll even add microphone input support since I don't think the switch has a builtin microphone (it can get input through the headphone jack like the 3DS though)

The switch does indeed not have a builtin microphone and putting a microphone in the 3DS headphone jack does nothing and it's probably the same for switch.
Posted 4 months ago

#259✎ 247HTV04Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthAvatar TabooI didn't change my avatar for 180 daysWebsiteSecond YearMy account is over 2 years oldWebsite

Putting a microphone in the 3DS headphone jack does nothing.

Headphone-jack microphones do work on SmileBASIC for 3DS (as well as the built-in microphone). Just make sure the MIC tag on the keyboard is enabled (there should be a green bar next to it). If it’s black, type XON MIC in direct mode or at the beginning of whatever program you’re making.
Posted 4 months ago
Edited 4 months ago
by HTV04

#260✎ 597IAmRalseiForum LeaderHiddenAchievementsFirst YearMy account is over 1 year oldWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strength

Putting a microphone in the 3DS headphone jack does nothing.

Headphone-jack microphones do work on SmileBASIC for 3DS (as well as the built-in microphone). Just make sure the MIC tag on the keyboard is enabled (there should be a green bar next to it). If it’s black, type XON MIC in direct mode or at the beginning of whatever program you’re making.

I remember it not working before...
Perhaps it's linked to plugging something into the headphone jack that works as both a microphone and a set of headphones?
Posted 4 months ago