But instead of clearing the screen, drawing the next character, and pxl_change'ing and pxl-test'ing 256 times, I will have a picture that has every character already printed out, and then mass-pxlchange and mass-pxltest. I am trying out a new way of doing this, and it goes kinda similar to my original one. This serves as a progress indicator, not nessecary to function How that works:ģ) and increment the current selected char by 1 (looping through 00-FF), up and down respectively.Ĥ) redraws the entire pic (takes about 15 sec)ĥ) print on the homescreen the hex of the current selected charĦ) prompts on the homescreen for the desired hex of the selected char.Īnd here is some Figlet-like text, sporting a classic CEMETECH. Only 10 bytes less than a regular Pic var. 5x3 pixels yields 12x31 characters, so 372, and double that because each character is represented by a 2 byte hex, so 744, and add the 11 bytes each string is born with and 2 bytes as a buffer so sub( commands don't error out, and that makes 757 bytes per ASCII pic. Displaying left to right, bottom to top, so as nothing is erased that doesn't need to be.ģ) All data is stored in Str1. I've got a base down, so here's how it works:ġ) Text is hex-encoded, so the identity(10,blah) function is used so all characters can be displayedĢ) Fixed width and height done with nested For( loops, 5x3 pixels. I came up with a random idea late last night, to have ASCII art on a calculator/convert Pic vars to ASCII art.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |