| |
Rotated [193 bytes] [2018] |
AKA :
30°, 45° or any degrees
Released At :
The 128b Font Compo
Credits :
Download :
Look for downloads on external sites:
Pokefinder.org
User Comment Submitted by Frantic on 27 March 2018
If I would judge it strictly as a font, rather than a coding accomplishment (rotation in few bytes), I have to say it doesn't look great. Hard to read and so forth. | User Comment Submitted by Bubis on 27 March 2018
Actually, I did this in 122bytes with a different method. :)
I will add that one as a new entry later on today. | User Comment Submitted by Bubis on 27 March 2018
This is nothing new really. I have 2x16bit texture coordinates what I step by a 2x8bit vector, the low bytes are on ZP and the high bytes are in XR, YR what I use when reading the pixels.
The texture coordinates of the 1st pixel in each row is stored as data (32bytes).
The "core" of the routine is something like this:
;writing one pixel
lda #0
cpy #8
bcs +
lda (charrom),y
+ cpx #8
bcc +
lda #0
+ and bitmask,x
cmp #1
dest:
rol $3800
;stepping texture coordinates
lda xlo
adc #dx
sta xlo
bcc +
inx
+ lda ylo
adc #dy
sta ylo
bcc +
iny
+ | User Comment Submitted by ws on 27 March 2018
The astonishing minimal size makes me even more curious and i would like to kindly ask for the publication of a documented sourcecode to accompain this release? :3
(*please*) | User Comment Submitted by Bubis on 27 March 2018
It's getting smaller, I am at 182 bytes now (I just need to flip the last to digits and I win the compo I guess :)) that includes showing the full charset.
I will update the release later. | User Comment Submitted by Rex on 26 March 2018 User Comment Submitted by Mixer on 26 March 2018 User Comment Submitted by Luca on 26 March 2018 User Comment Submitted by Bubis on 26 March 2018
This entry is outside of compo, as it is too big.
The method allows 0-90 rotation and zooming. I will probably include a version that is <=256b and asks for input parameters. |
|
|
|
| Search CSDb |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Support CSDb | |
|
| |
|