
So i have that image with a timer on the bottom.. Now when the timer runs out the chest starts to bounce.
once it starts bouncing and timer runs out i need it to interact with it. I need some advice on how i can do that best?
Now the chest is always in the same place of the screen.
Label check
FindImagePos>%BMP_DIR%\image_2.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_2_Found,CCOEFF
FindImagePos>%BMP_DIR%\image_16.bmp,WINDOW:BlueStacks App Player,0.7,1,XArr,YArr,Image_16_Found,CCOEFF
if>Image_2_Found>0,help
if>Image_16_Found>0,truce
Goto>check
Now this is my check section so i would need to add it in there as well so it cant just sit on that chest and wait till it starts bouncing. It need to check for other things also.
I was thinking some thing like if it doesnt see the timer in a certain area it goest to what ever label.. But not sure how to do that, or maybe there is a better way of doing it, since the timer is transparent a bit. And the chest is always there doesnt take diffrent shape in any way.
I thought one if