B
bluef
Guest
The code bellow is what i am using
it draws sprite in each new position and then it dissapears and draws into next. how do i make it so that the sprite that was drawn in last position stays.
Code:
if(xi >= 640)
{
xi = 0;
yi += 64;
}
if(yi >= 640)
{
yi = 0;
xi = 0;
}
draw_sprite(curr_draw_bg,0,xi,yi);
xi = xi + 64;