? "Vanilla" SPSET ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Space-Restriction Challenge QSP Phase Ends on March 26!

"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
auceps
Updated
Rating
4 votes
Categories
Keywords
  • sprite
  • spset
  • alternative
  • formula
6 Comment(s) auceps auceps First Year My account is over 1 year old Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength osu! Is Awesome! I love osu! Express Yourself Wow, I finally joined the ranks of the last-pagers. 12Me21 12Me21 Head Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself SPSET I,X MOD 32*16,X DIV 32*16 SPSET I,X MOD 32*16,X>>5<<4 auceps auceps First Year My account is over 1 year old Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength osu! Is Awesome! I love osu! Express Yourself o no i got golfed 12Me21 12Me21 Head Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself u just got golfed Sam Sam Amazing Page Hidden Achievements Great Page Hidden Achievements Good Page Hidden Achievements 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. auceps auceps First Year My account is over 1 year old Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength osu! Is Awesome! I love osu! Express Yourself I don't know how I could word it to be easily understandable. :(