SmileBASIC Source Resources

### Sign In

Register
*Usernames are case-sensitive
Forgot my password

# Resources for SmileBASIC

Category: Code Snippets 55 Result(s) Random Page
Popular Newly Added Recently Updated Alphabetical Programs Resources OSP Basic Tutorials System Guides Advanced Tutorials Additional Content Code Snippets OSP 1 2 3
1. Perfectly Filled Circles By: Simeon A lightweight function to fill a circle regardless of its position.
2. Faster ACLS By: 12Me21 In 3.3, ACLS accepts 3 arguments, which disable some things when not 0 ACLS skipGraphics, skipSp...
3. Array insert and remove functions By: 12Me21 These will work on any type of 1D array. Insert DEF INSERT ARRAY[],POS%,VALUE UNSHIFT ARRAY,VAL...
4. Drawing Ellipses on SmileBASIC By: answer DEF ELLIPSE X,Y,SX,SY VAR R,I,R2 FOR I=0TO 360:R2=R R=RAD(I) GLINE X+SX*COS(R),Y+SY*SIN(R)...
5. Even More Perfectly Filled Circles By: 12Me21 Pick this one lol
6. Simple Trigonometric Hue By: Simeon Some hue algorithms can appear overly choppy when dealing with color blending. Most programmers...
7. Text-Only Loading Bar By: 12Me21 A progress/loading bar, made from only text. It's accurate to the nearest pixel DEF TEXTBAR LENG...
8. Detect sleep mode or home menu By: 12Me21 MILLISEC is a millisecond (1/1000) timer. It uses the 3DS's internal clock, which runs constantl...
9. faster FOR loop By: 12Me21 Often people use something like FOR I=0 TO LEN(ARRAY)-1 to loop through an array, but this isn't...
10. Limit Variable to Range By: 12Me21 variable=MIN(MAX(variable, minimum), maximum)[/b]
11. Epicycloids By: MZ952 EPICYCLOID OriginX, OriginY, CentralRadius, TangentialRadius, ScaleFactor, ColorDEF EPICYCLOID X...
12. IBLUR (Instant Blur!) By: 12Me21 Instantly blur graphics!
13. Deterministic Pseudorandom Number Generator By: ezman The same random number, every time.
14. Simple Menu Function By: 12Me21 Function to allow the user to select an item from a list
15. ISINSTR (String Searching) By: Minxrod DEF block that produces a list of locations a substring appears in a string.
16. Auto Print Text On Screen By: Minaboo This is how to make a function that prints text out on the screen one character at a time. Nor...
17. Getting MML DATA By: 12Me21 MML DATA is usually formatted like: @SONG_NAME DATA "ABCDEFG" DATA "more MML" DATA "etc." DATA 0...
18. Alternate uses for (R)SORT By: 12Me21 If you pass multiple arrays to SORT, it will sort the first array, then sort the others in the s...
19. Saving and Loading String Arrays By: 12Me21 You can't easily save string arrays into a DAT file, but here's a way to convert a string array...
20. Color to Black and White Converter By: DFrost color to black and white
1 2 3