I am starting to work at a connect-the-dots game. I figured the technical part, but I don't know how to draw lines (like Pencil Tool from Paint) <img src="smileys/smiley36.gif" border="0" align="middle" />
The technical part goes something like this:
There are points A and B and the event starts when the player touches point A. Then, every X seconds (0.5s ~ 0.7s) the position of the touched area is memorized in an array. When the user touches point B, an invisible object (line) is created starting from point A and finished to point B. Then an event checks and validates the line drawn by user if the object overlaps all the points recorded in the array.
So the question that remains is how to draw lines ? (I need a better method then to create small dots (objects) every frame)
Also feel free to correct me if the logic behind the technical part is wrong or if it can be optimized even better <img src="smileys/smiley20.gif" border="0" align="middle" />