i have a image with 2 rows and 3 cols.
row 1 has person runing foward.
row 2 has person running backward.
i want to use row 1 if user press right key. and left for row2. right key works fine.
but when i press left key it start from row 1. i want to start from row2 here.
i del most of the code so its easy to read.
dbCreateAnimatedSprite(0,"person.bmp",3,2,0);
dbSprite(0,10,10,0);
...
if(dbRightKey() == 1)
{
dbPlaySprite(0,1,3,100); //row1
}
if(dbRightKey() == 1)
{
dbPlaySprite(0,4,6,100); //row2- problem it start from 1-6 here
}