IkimashoZ
|
void render_byline(int img, int time_elapsed) {
int time_since_start;
int variance;
time_since_start = time_elapsed - 335;
variance = 30 - (time_since_start / 2);
if(variance < 0) variance = 0;
if(time_elapsed >= 335) {
if(variance) tscaleblit(95, (440 + variance), (30 - variance), 450, img, screen);
else tblit(95, 440, img, screen);
}
}
Specifically, it's not blitting anything to the screen at all. The final tblit works just fine, but I'm not getting the upward stretch effect that I want. And I wants it bad. Little help??
Posted on 2006-11-16 07:12:32
|