how can I draw straight line to connect dot

mintmomegmintmomeg Member, PRO Posts: 261
edited November -1 in Working with GS (Mac)
I try to make connect dot game... but I cannot do it
example as same as they do in http://www.ifreeware.net/download-baby-coloring-hd-lite.html

Comments

  • A3MGA3MG Member Posts: 152
    I started working on a game like this. I use some of the logic in Joe's (firemaplegames) elasticity demo for the drawing of the line. basically start with a small square (like 10x10) and adjust the width at the angle you drag it to make the line.

    You could then drag from the point you touch to another known point and if you get there then spawn a new 10x10 square and start dragging that one to the next point. Each time you get to the next dot it will stop dragging the previous and spawn a new one.
Sign In or Register to comment.