Draw a line

Hello,

I have asked this question a few times and could not find it.

I am trying to make the user of my game to draw a line, a ball will then roll down the line.
Can you give me a link or show me the code for drawing a line?

Thank you. [import]uid: 23689 topic_id: 10231 reply_id: 310231[/import]

Do not ask the same question twice; update the original thread if you are having issues. Please revise the rules before posting again; http://developer.anscamobile.com/forum/2011/05/05/forum-rules-and-guidelines

Now, as to the line - here is the link you were unable to find; http://developer.anscamobile.com/reference/index/eventxstart

I hope this helps, but please do read the rules - we like to keep a clean forum :wink:

Peach :slight_smile: [import]uid: 52491 topic_id: 10231 reply_id: 37432[/import]

thank you, is it possible limit the amount of line that you can draw? [import]uid: 23689 topic_id: 10231 reply_id: 39242[/import]

Hey,

Yes it is - but if you’re looking for actual code for it, you need to write that yourself or post and hope someone is feeling generous :wink:

Most things are possible if you use logic!

Best of luck,

Peach :slight_smile: [import]uid: 52491 topic_id: 10231 reply_id: 39316[/import]