PDA

View Full Version : Connect The Dots?



smoothdude20017
January 17th, 2008, 03:58 PM
I have been trying to figure out how to make a game where you must connect the dots to make boxes and get points (like kids do on paper).

I have reached a dead end. I cannot think of how I would code this. My coding knowledge is limited so I was hoping someone here would have further knowledge on this topic.

Any help at all will be greatly appreciated.

I also am not sure if I should draw the dots individually or make them movie clips then code them to be distributed evenly throughout the playing field. But I do not know how to do that either...

Thank you,
Aaron

Marz
January 17th, 2008, 04:20 PM
Seeing as how this game is extremely easy to duplicate in terms of processes. Make each dot a movieClip and then use the draw class to draw a line from point1 MC to point 2 or vice versa.

When you mouseOver a dot it should show you your possibilities. Like.. Line left, line right or anything like that.

I could also help you out with AI as well if you need help with that. I know this is basic but I'm at work and only have a limited amount of time.

Stevai0
January 17th, 2008, 07:21 PM
On your break Marz? get back to work! =) =)