danny2010
2011-12-31 01:27:28
I'm writing a script for a facebook game called diamond dash
the aim of the game is simple you find matching pattens click to get score
Not the best description, see for yourself https://apps.facebook.com/diamonddash
I'm using bitmaps to find the items to click which it finds no problem
but there is no pattern where it's clicking and the mouse stays there
there is a grid 10x9, I have saved a copy of each block in its own bitmap file
and have it in the script as a Bitmap
This is the grid:
![]()
the patterns can only be either left/right/up or down, each block is 40x39
This is the script i wrote:
the aim of the game is simple you find matching pattens click to get score
Not the best description, see for yourself https://apps.facebook.com/diamonddash
I'm using bitmaps to find the items to click which it finds no problem
but there is no pattern where it's clicking and the mouse stays there
there is a grid 10x9, I have saved a copy of each block in its own bitmap file
and have it in the script as a Bitmap
This is the grid:
the patterns can only be either left/right/up or down, each block is 40x39
This is the script i wrote:
http://pastebin.com/LGMC8f4G

