Sprite Studio 83+


General Usage This suite of functions revolves around the creation of sprites for use in TI-Basic. Admittedly, it is a bit slow during the editing process. The programs HEX2BIN and BIN2HEX are optional, used only to convert the string variable Str0 back and forth between hexadecimal & binary characters. The main file, or the actual editor, is XSPRITE. With that program you can visually edit Str0 from both the home screen and graph screen. Also, it saves to any part of Pic0 - meaning it doubles as an editor for xLib sprites. You can save and reload your sprite - or just view Pic0.

BIN2HEX


BIN2HEX is a simple function. It takes a string of 64 ones and zeros (known as binary) from variable Str0 and converts it to a much smaller string of 16 hexadecimal characters (0-F). The program uses string variables Str0, Str1, Str2, and real variable X. Upon cleanup it deletes all but Str0.



HEX2BIN


HEX2BIN is a simple function, the exact opposite of BIN2HEX. It takes a string of 16 hexadecimal characters from variable Str0 and converts it to a string of 64 ones and zeros, known as binary. The program uses string variables Str0, Str1, Str2, and real variable X. Upon cleanup it deletes all but Str0.



HSPR


HSPR draws the contents of binary style Str0 to the home screen. The coordinate debugging was tricky to say the least, but works for 8x8 sprites. The program uses real variable A and B, and string variable Str0.



QSPR


QSPR draws the contents of binary style Str0 to the graph screen. It's meant to work for 8x8 sprites, but can be any height. The program uses real variables A, F, & G, and string variable Str0. Real variables F and G must be predefined as the (x,y) offset for the sprite; (F,G) = (x,y). This is important for editing Pic0 for use as the xLib sprite table.



SP2ST


SP2ST is a simple function to understand. It takes the top left 8x8 pixels from the graphscreen and converts them to a binary style string, Str0. It uses real variables X and Y, and string variable Str0.



XSPRITE



©2006 William White & Daniel Thorneycroft