? "Vanilla" SPSET ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Contest results!

"Vanilla" SPSET

If you've ever wanted to select a sprite by number (SPSET I,X) and not have to wonder if X+1 is X flipped to the nth degree, here you go. SPSET I,X MOD 32*16,FLOOR(X/32)*16,16,16
Author
chicken
Updated
Rating
4 votes
Categories
Keywords
  • sprite
  • spset
  • alternative
  • formula
6 Comment(s) chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements Wow, I finally joined the ranks of the last-pagers. 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS OSP Contest 2 Winner I won the second SmileBASIC Source OSP Contest! Programming Contest Second Year My account is over 2 years old Website SPSET I,X MOD 32*16,X DIV 32*16 SPSET I,X MOD 32*16,X>>5<<4 chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements o no i got golfed 12Me21 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS OSP Contest 2 Winner I won the second SmileBASIC Source OSP Contest! Programming Contest Second Year My account is over 2 years old Website u just got golfed Sam Sam Amazing Page Hidden Achievements Summer 2016 Contest Runner Up I placed 2nd in the SmileBASIC Source Summer 2016 Contest! Programming Contest OSP Contest 2 Contest Participant I participated in the second SmileBASIC Source OSP Contest! This is cool and useful, but I wish it were worded a bit better so beginners and the like would easily see why this is useful. chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Second Year My account is over 2 years old Website Good Page Hidden Achievements I don't know how I could word it to be easily understandable. :(