- Custom Font CE [ICE]
- 06 May 2018 12:21:46 pm
- Last edited by SM84CE on 19 May 2018 08:56:55 pm; edited 1 time in total
I’m thinking of making a custom font for the CE, using sprites and placed in a program, which you can “include” by using the AsmComp( token. As of now, I’ll have A-Z, a-z, 0-9. I want to get those done before I move on to other characters. I’ll probably use a BG color that can just be set as a transparent color, I’ll have to see what I can come up with. All the sprites are 10x10, converted with ConvPNG.
EDIT: Transparent color is 254, text color is 7, iirc
Ideas, suggestions, etc.? Post then below!
(I’ll be working on this after school lets out, btw)
An example of usage:
NOTE I should have said this before, but this font is for use in ICE programs, text scaling can be achieved by scaling sprites, although that would be kinda hard, considering that my font prgm will have ~60 pointers (1/character)... It's still in the concept phase... We'll just see how the ball rolls!
Code:
I admit... most of this is based on the TI-83 font...
EDIT: Transparent color is 254, text color is 7, iirc
Ideas, suggestions, etc.? Post then below!
(I’ll be working on this after school lets out, btw)
An example of usage:
NOTE I should have said this before, but this font is for use in ICE programs, text scaling can be achieved by scaling sprites, although that would be kinda hard, considering that my font prgm will have ~60 pointers (1/character)... It's still in the concept phase... We'll just see how the ball rolls!
Code:
PROGRAM:EXSRC
[i]CFONTEX
AsmComp(CFONT
Begin
Sprite(S,0,0
Sprite(M,10,0
Sprite(EIGHT,20,0
Sprite(FOUR,30,0
Sprite(C,40,0
Sprite(E,50,0
Sprite(EXL,60,0
Sprite(PLUS,70,0
Sprite(I,80,0
Sprite(C,90,0
Sprite(E,100,0
//prints "SM84CE!+ICE"
...
det(1 //End, gfx_End(); for all you C peeps :P
I admit... most of this is based on the TI-83 font...