? SmileBASIC Source Resources

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Another contest? You asked for it!

Resources for SmileBASIC

Category: Code Snippets 24 Result(s) Random Page
Popular Newly Added Recently Updated Alphabetical Programs Resources Programming Contest Basic Tutorials System Guides Advanced Tutorials Additional Content Code Snippets 1 2
  1. ERROR! Drawing Ellipses on SmileBASIC By: AnswerXOX 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)...
  2. ERROR! 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...
  3. ERROR! Text-Only Loading Bar By: 12Me21 A progress/loading bar, made from only text. It's accurate to the nearest pixel DEF TEXTBAR LENG...
  4. ERROR! Faster ACLS By: 12Me21 In 3.3, ACLS accepts 3 arguments, which disable some things when not 0 ACLS skipGraphics, skipSp...
  5. ERROR! Deterministic Pseudorandom Number Generator By: ezman The same random number, every time.
  6. ERROR! 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...
  7. ERROR! ISINSTR (String Searching) By: Minxrod DEF block that produces a list of locations a substring appears in a string.
  8. ERROR! IBLUR (Instant Blur!) By: 12Me21 Instantly blur graphics!
  9. ERROR! Auto Print Text On Screen By: lilstrubel This is how to make a function that prints text out on the screen one character at a time. Nor...
  10. ERROR! 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...
  11. ERROR! Limit Variable to Range By: 12Me21 variable=MIN(MAX(variable, minimum), maximum)[/b]
  12. ERROR! Logical XOR By: 12Me21 !A!=!B
  13. ERROR! Convert Hz. to MML note By: 12Me21 DEF FREQ$(HZ%) VAR NOTE#=LOG(HZ%/440,POW(2,1/12))+57 VAR NOTE%=FLOOR(NOTE#) VAR DETUNE%=(NOTE...
  14. ERROR! Rotate graphics 90 degrees By: 12Me21 Function to rotate graphics.
  15. ERROR! 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...
  16. ERROR! 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...
  17. ERROR! Color to Black and White Converter By: dfrost2 color to black and white
  18. ERROR! alternate WAIT By: dfrost2 a small program to recreate the WAIT command
  19. ERROR! Getting MML DATA By: 12Me21 MML DATA is usually formatted like: @SONG_NAME DATA "ABCDEFG" DATA "more MML" DATA "etc." DATA 0...
  20. ERROR! Simple Menu Function By: 12Me21 Function to allow the user to select an item from a list
1 2