#81✎ 255niconiiPower UserVideo GamesI like to play video games!HobbiesExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthDrawingI like to draw!Hobbies
It's hard to explain, but it seems that the x-y mins/maxes of the circle are different ARGB colors than the rest of the circle.
Either I'm missing something crucial here, or this is a graphical artifact, which wouldn't be too surprising in this early stage of release.
Looking at it... I think maybe, when it draws a circle, what's actually happening is that it draws a single quadrant, then copies and pastes it for the other three corners. It just so happens that the quadrants overlap a bit at the ends. This wasn't a problem in SB3, because there was no transparency... now that there is, though, the overlapping ends blend together.
Posted
#82✎ 412MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthThird YearMy account is over 3 years oldWebsiteReadingI like to read books!Hobbies
Looking at it... I think maybe, when it draws a circle, what's actually happening is that it draws a single quadrant, then copies and pastes it for the other three corners.
That's a clever observation. Actually, the effect spans diagonally too, so it's probably copying octants.
Posted
Edited
by MZ952
#83✎ 1131snail_Power UserQSP Contest 1 Contest ParticipantI participated in the first SmileBASIC Source QSP Contest!HelperReceived for being very helpful around SmileBASIC SourceAchievementsAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsMaybe. We might also want to choose a standard key shortcut that kills the subprogram.
Posted
#84✎ 482MasterR3C0RDPower UserAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsThird YearMy account is over 3 years oldWebsiteosu! Is Awesome!I love osu!Express YourselfAnyone here have SB4 and CFW installed on their Switch?
Posted
#85✎ 255niconiiPower UserVideo GamesI like to play video games!HobbiesExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthDrawingI like to draw!Hobbies
Maybe. We might also want to choose a standard key shortcut that kills the subprogram.
Probably just Esc for that.
Posted
#86✎ 1131snail_Power UserQSP Contest 1 Contest ParticipantI participated in the first SmileBASIC Source QSP Contest!HelperReceived for being very helpful around SmileBASIC SourceAchievementsAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsI want to mention the differences with project structure and the Play Menu, since they're not immediately clear if you can't read Japanese.
Like before every entry in the gallery is a project folder (no nesting) but now they can have metadata: icon, title, and description. The idea is that project folders are less for organization and more for distributing a program or game. But you might want to use them as general folders, so the functionality is still there.
When you press A or + on a project in the gallery, you aren't brought to the list of files in the folder. Instead you are prompted to start the file named TXT:MAIN.PRG in that project. This establishes a standardized "main project program" which is a nice thing to know and have. If you press - on the project, you are brought to its file list which functions basically the same way as it does in SB3, though it only shows TXT files. This is how you would run a program stored in DEFAULT for example. (Though presumably you aren't allowed to upload individual files anymore, only projects.) If you long press A you get a submenu that lets you send likes and stuff. You can manage different types of files in projects from the File Menu (copy/delete etc) which is basically the same as SB3.
You could totally make a MAIN.PRG for your DEFAULT that acts like a cool browser or launcher if you wanted to.
It would've been nice if you could, say, pick a GRP in the play menu to look at it, but the play menu lists ONLY TXTs.
Posted
Edited
by snail_
#87✎ 255niconiiPower UserVideo GamesI like to play video games!HobbiesExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthDrawingI like to draw!HobbiesI just noticed that T? is short for TPRINT.
Posted
#88✎ 1131snail_Power UserQSP Contest 1 Contest ParticipantI participated in the first SmileBASIC Source QSP Contest!HelperReceived for being very helpful around SmileBASIC SourceAchievementsAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsAnd ?? is short for INSPECT.
? PRINT
T? TPRINT
?? INSPECT
This makes me wonder what happens when you write, say, ????. In SB3 this just printed four newlines, but SB4 might try to interpret this as an entire function name and throw an error.
Posted
#89✎ 255niconiiPower UserVideo GamesI like to play video games!HobbiesExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthDrawingI like to draw!HobbiesSo, text screens can be moved around freely, since they've been combined with BGs... there's keyboard input...
I guess there's nothing stopping you from sticking a Quake-style debug console in your game if you want to.
Posted
#90✎ 412MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthThird YearMy account is over 3 years oldWebsiteReadingI like to read books!HobbiesSo, at first, I didn't understand what was meant by being able to reference multidimensional arrays as if they were one-dimensional (I thought that maybe when you referenced it that way, it would return an array containing the "row" of the multidimensional), but
DIM M=5,N=3
DIM A=ARRAY%(M,N)
DIM I,X,Y
FOR Y=0 TO M-1
FOR X=0 TO N-1
A[Y,X]=Y*N+X
NEXT X
NEXT Y
FOR I=0 TO M*N-1
?A[I]
NEXT I> 0
> 1
> 2
> 3
'...
> 13
> 14
Wow! That's useful!
Posted
#91✎ 412MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthThird YearMy account is over 3 years oldWebsiteReadingI like to read books!HobbiesIs there a "replace all" or "replace and next" button somewhere with the keyboard's search function? It would do me a number of favors...
Posted
#92✎ 72calc84maniacOSP Contest 1 WinnerI won the first SmileBASIC Source OSP Contest!Programming ContestAmazing PageHiddenAchievementsScholarReceived for knowing a great deal about programming topicsAchievements
Is there a "replace all" or "replace and next" button somewhere with the keyboard's search function? It would do me a number of favors...
Shift+find is replace (and it does replace and next by default), but I'm not sure if there's a replace all.
Posted
#93✎ 482MasterR3C0RDPower UserAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsThird YearMy account is over 3 years oldWebsiteosu! Is Awesome!I love osu!Express Yourself
Is there a "replace all" or "replace and next" button somewhere with the keyboard's search function? It would do me a number of favors...
Shift+find is replace (and it does replace and next by default), but I'm not sure if there's a replace all.
#95✎ 15tomrowIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming Strength
Maybe. We might also want to choose a standard key shortcut that kills the subprogram.
Probably just Esc for that.
Pause/Break might also be a good key (it was built for halting BASIC programs after all.)
Posted
#96✎ 255niconiiPower UserVideo GamesI like to play video games!HobbiesExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthDrawingI like to draw!HobbiesSomehow it didn't occur to me to test this until now, but the F9-F11 keys for bringing up a subprogram work while the main program is running.
In other words, unless the subprogram needs to remain in view at all times, or needs to retain state between uses, the KEYBOARD trick isn't actually necessary, since you can run a subprogram at will.
EDIT: Actually, even if it does need to stay in view at all times, pressing the corresponding key would just kill it and start a new one, so it really just is "if it needs to retain state between uses".
EDIT2: Earlier, I suggested the possibility of having a live GRP editor while the main program is running. Well, one interesting consequence of this is that the built-in GRP editor is in fact that, since you can open and close it while the main program is running.
Posted
Edited
by niconii
#97✎ 1559randoIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthThird YearMy account is over 3 years oldWebsiteAvatar TabooI didn't change my avatar for 180 daysWebsitegeez I missed 3 pages of posts lol
EDIT: went from 92 notifications to 4 LOLLYPOP
Posted
Edited
by rando
#98✎ 567HTV04Forum LeaderHiddenAchievementsThird YearMy account is over 3 years oldWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming Strength
LOLLYPOP
what
Should we update the site to support SB4 programs (such as adding a new category, new minimum compatible device, etc.)?
Posted
Edited
by HTV04
#99✎ 856IAmRalseiForum LeaderHiddenAchievementsSecond YearMy account is over 2 years oldWebsiteExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strength
LOLLYPOP
what
Should we update the site to support SB4 programs (such as adding a new category, new minimum compatible device, etc.)?
yes we should
Posted
#100✎ 482MasterR3C0RDPower UserAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsThird YearMy account is over 3 years oldWebsiteosu! Is Awesome!I love osu!Express Yourself
LOLLYPOP
what
Should we update the site to support SB4 programs (such as adding a new category, new minimum compatible device, etc.)?
Don't quote me on this (haha) but I think Random is working on a new site at the moment so I don't think he'll be adding categories for SB4
Posted