TonmaLe 01/05/2020 à 09:37
Hi,
First, please, correct your code to remove all warnings. It's difficult to find error when you have too much warnings information and you soft will work better.
>> low arrow doesn't disappear after reaching of last page.
You need to change the test of the number of pages. When you have 2 pages, you only have page 0 and page 1.
if(page==numberofpages-1)
{
arrow1X=320;
arrow2X=288;
}
>> blue arrows in ArrowHorAnim and ArrowVertAnim functions are refusing to move automatically
you init variable path=0; every frame, you "path" value never change. Test value with writing variable on screen. Move the variable like
void instruction() {
ushort *data;
ushort flipMode=0;
button_available=true;
mode=3;
page=0;
numberofpages=2;
path = 0;