dmonchild
Joined: 23 Dec 2007 Posts: 15
|
Posted: Wed Apr 15, 2009 12:31 pm Post subject: debug strings with fade |
|
|
I got bored n tired of seeing shitty debug text all flat and 70's looking. Combo this with the nofx's sdk debug font mod and stuff looks nice.
| Code: |
void pspDebugScreenPutsFade(char buffer[], unsigned int colorfrom, unsigned int colorto){
int counter=0;
char output[1];
while(counter < strlen(buffer)){
pspDebugScreenSetTextColor(colorfrom - (counter * colorto));
sprintf(output, "%c", buffer[counter]);
pspDebugScreenPuts(output);
counter++;
}
return;
}
|
_________________ hmm |
|