? "Vanilla" SPSET ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
What's going on?? See: Site Update March 2022

"Vanilla" SPSET

The default SPDEF doesn't just go through all the 16x16 chunks on the spritesheet. It contains some rotated and versions of previous sprites, as well as sprites larger than 16x16. But if you want to just select by the 16x16 block it is, 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 Deep Sleep Hidden Website Wow, I finally joined the ranks of the last-pagers. 12Me21 12Me21 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 chicken chicken Deep Sleep Hidden Website o no i got golfed 12Me21 12Me21 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. chicken chicken Deep Sleep Hidden Website I don't know how I could word it to be easily understandable. :(