? SmileBASIC 4 Discussion「プチコン4」 (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

SmileBASIC 4 Discussion「プチコン4」

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  • #1 ✎ 286 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Because this thread doesn't seem to exist yet, SB4 is soon to be out (in Japan)! And there's a lot to discuss... Posted
  • #2 ✎ 286 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies SB4 supports multitouch? https://twitter.com/notohoho/status/1129515354181386241?s=09 TOUCH [touch ID [, coordinate system conversion flag]] OUT touch time, X, Y [, touch area] The reference gives this for touch, so I'm confused how multitouch would work. I probably read the tweet wrong...? Posted
  • #3 ✎ 1818 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself I guess touch ID is which touch point you want to check Posted
  • #4 ✎ 286 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies
    I guess touch ID is which touch point you want to check
    Huh. That opens a new can of questions. If I put one finger down and then another, then I imagine that the first finger registers as TID 0 and the second TID 1. But what if I lift the first finger? Does 1 become 0, or does it remain 1?
    Posted
  • #5 ✎ 1053 snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements Something of interest is that the definition of a constant expression has been expanded, but it's a bit unclear. translated help page It seems like the functions CHR$ DEG RAD RGB are treated as constant expressions as long as their inputs are also constant expressions. So it's likely they are included in constant folding and are extremely efficient to use. Posted Edited by snail_
  • #6 ✎ 1818 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself It's weird how they only mention that in CONST, (as well as CHR$ in DATA) Maybe they did some weird hack and constant functions aren't actually optimized... Posted Edited by 12Me21
  • #7 ✎ 1053 snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements
    It's weird how they only mention that in CONST, (as well as CHR$ in DATA) Maybe they did some weird hack and constant functions aren't actually optimized...
    They mention RGB in ENUM since that's the only constant function that is an int and only ints are allowed in ENUM.
    Posted
  • #8 ✎ 1818 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself HSV() is int too. So is INT(). I wonder if they're just listing examples, though Posted
  • #9 ✎ 1053 snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements
    HSV() is int too. So is INT(). I wonder if they're just listing examples, though
    I doubt every function is constant folded so it's probably just the ones included.
    Posted
  • #10 ✎ 927 random_god Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Video Games I like to play video games! Hobbies wonder if we can have smaller pixels? That would be cool, better graphics. Posted
  • #11 ✎ 203 niconii Video Games I like to play video games! Hobbies Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Drawing I like to draw! Hobbies Yep, you can have anywhere from a 128x128 resolution to a 1280x720 resolution. The width and height have to be a multiple of 4 though. Posted
  • #12 ✎ 1818 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself There's really no reason why they would precompute some functions but not others it's not really any harder than precomputing operators, you just need a list of which functions produce a constant output without any side effects. Posted
  • #13 ✎ 377 Chemicalex Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength osu! Is Awesome! I love osu! Express Yourself How does scaling different resolutions work? Does it just scale upwards with hard edges? Can we also expect significant performance variation between different resolutions? Posted
  • #14 ✎ 203 niconii Video Games I like to play video games! Hobbies Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Drawing I like to draw! Hobbies
    How does scaling different resolutions work? Does it just scale upwards with hard edges? Can we also expect significant performance variation between different resolutions?
    I go into some detail about screen scaling with XSCREEN and other aspects of SmileBASIC 4 in this guide, but basically:
    1. You can choose between bilinear filtering, nearest neighbor, or "smart nearest neighbor" which is apparently somewhere between the two, according to the reference.
    2. Probably the only real difference in performance would be graphics commands, since you'd naturally be drawing over a larger area of the GRP with larger resolutions. As for how big of a difference it actually is, we'll have to wait for the release to find out.
    Posted Edited by niconii
  • #15 ✎ 286 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Do we know if SB4 can take in-game screenshots like SB3? I'm curious because Nintendo seems to have low-balled the crap out of the Switch's screenshot game. Posted
  • #16 ✎ 1053 snail_ QSP Contest 1 Contest Participant I participated in the first SmileBASIC Source QSP Contest! Helper Received for being very helpful around SmileBASIC Source Achievements Amazing Contributor Someone thinks I'm an awesome person who has done so much for the community! Achievements
    Do we know if SB4 can take in-game screenshots like SB3? I'm curious because Nintendo seems to have low-balled the crap out of the Switch's screenshot game.
    The Switch capture button is basically the same thing but substantially better quality.
    Posted
  • #17 ✎ 203 niconii Video Games I like to play video games! Hobbies Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength Drawing I like to draw! Hobbies It cannot. The reason that was added to SB3 is because Miiverse went down and there was no longer any way to take screenshots. That's not the case on the Switch, which has a dedicated screenshot button. Either way, the SB3 screenshot function was pretty bad too in terms of JPEG compression, so it's not like we've lost anything. Posted
  • #18 ✎ 286 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies I don't actually own a Switch yet, so I can't confirm, but I heard and read that the screenshots it produces are low quality and highly compressed. It's hard to capture pixel art type stuff with, well, any compression. I think it would be a little neat if SB4 had its own in-built function that could maybe snapshot the screen or whole GRPs or something. It would eat memory, which is probably why Nintendo chose to compress their system's screenshots so much, but that can't really be too big a hassle. Posted Edited by MZ952
  • #19 ✎ 1818 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Well, there's always the option of capturing video though the HDMI output Posted Edited by 12Me21
  • #20 ✎ 677 IAmRalsei Forum Leader Hidden Achievements First Year My account is over 1 year old Website Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength SmileBOOM just uploaded 4 videos on SB4. Now watch me try to analyze these. I probably missed a lot of stuff. The first video was https://www.youtube.com/watch?v=ayNsaxF5Kb4 it shows a Pi starter Mk II which seems to run SmileBASIC 4 based on the title of the video. The second video was https://www.youtube.com/watch?v=3ywNYBBqjN4 It's a simple autorunner but here's the thing, IT DOESN'T USE RETRO GRAPHICS! this means SB4 will have an option to use higher quality graphics! The third video was https://www.youtube.com/watch?v=hYqX0d2TsrM It's a version of solid gunner that plays with the switch turned 90 degrees. It also has 2P co-op and 3D CUBES. The background also seems to use multiple layers. The fourth and final video was https://www.youtube.com/watch?v=eTwqNyE1c54 It shows a part of the editor. According to the title of the video, it's an encoder. EDIT:They launched a 5th video. https://www.youtube.com/watch?v=HHDIQbS6CRw It shows the speed test in SB4. Not sure why they released it by itself but okay Posted Edited by IAmRalsei
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19