I created one large bitmap and divided it into equal portions. Each portion serves as a single animation frame. I'm able to cycle through the frames, however my code to do so is redundant. Here is a sample:
while (1)
{if (key_cud == 1)
{animate_x = 0;
animate_y = 60;
wait(wait_time);
animate_y = 120;
wait(wait_time);
}
else animate_y = 0;
I tried "animate_y += 60;", but this only skips to 120, completely by passing frame 60. Please offer suggestions.