? Perspective Starfield Test ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Creep into the Halloween / Horror Programming Contest (Deadline Extended)

Perspective Starfield Test

Submitted
Updated
Author
snail_
Public Key
Q323N4A1
Min. Compat.
All
Size
1.9KB
Rating
9 votes
Description Straight from the 1980s comes this classic effect! Also doubles as a stress test for SB. N3DS users: please provide performance stats in the comments! Instructions Enter the number of stars when the program prompts you (128 is recommended for O3DS). The following inputs can be used while the test is running. A Button - Toggle Info Display B Button - Toggle camera modes: Auto and Freelook X Button - Return to star count prompt Circle Pad - Move camera when in Freelook PLEASE NOTE: controls may not be responsive at low framerates.
Categories
Keywords
14 Comment(s) Warrior Warrior Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself Drawing I like to draw! Hobbies 59 FPS 512 STARS N3DS Komodo Komodo Pokemon Is Awesome! I love Pokemon! Express Yourself Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I like it :) 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Use SPOFS CALLIDX OUT SX,SY,SZ instead of SPVAR snail_ snail_ Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! SPOFS doesn't hold real numbers. Also, the vars store the star's position in 3D space, not display space. Krondelo Krondelo Voted, great program Snail. It really looks quite nice and trippy. Even fun going into free cam and flying through the stars. Yep, confirm 59fps at 512 stars, I wonder how high it could go before dropping fps. chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Avatar Embargo I didn't change my avatar for 90 days Website Good Page Hidden Achievements 512 is the max number of sprites lol DrZog DrZog I know this is a late reply but with vsync at 0, it achieves 64 FPS on N3DS on 3.3.0 (16FPS on old3ds under same conditions) So that's exactly 4x as fast. Wonder if Smileboom is using the 2nd appcore or L2 cache. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Are the stars sprites or GCIRCLE+GPAINT? I think sprites would be faster. snail_ snail_ Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Yep, it's sprites. It's just that floating-point performance suffers a good deal on O3DS, for some reason. DrZog DrZog Entering 1 star gives div by 0 error on line 68 Just changing (STARS%-1) to (STARS%) seems to fix it. Archive Archive Veyr Nice! Can confirm 512 stars and 59 FPS. Just curious, what is the FPS with 512 stars on a regular 3DS? snail_ snail_ Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! It's only about 16FPS, which is a vast difference between systems. brilliance360 brilliance360 First Week Joined in the very first week of SmileBASIC Source Website Spring 2017 Contest Participant I participated in the SmileBASIC Source Spring 2017 Contest! Programming Contest Deep Sleep Hidden Website I like the look of this! I have an N3DS, and no matter how many stars I picked, it ran at 59 FPS. Also, I got a divide by 0 at line 68 if I chose 1 star. snail_ snail_ Helper Received for being very helpful around SmileBASIC Source Achievements Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Odd, I'll check that out later. 59FPS even on 512 stars? N3DS must be juiced.