Hello everyone! I’m trying to see if I can do this but I’m confused on how to do certain things. In general: how can I have the user slide their finger and a line comes up? In specific: I want to be able to limit how long the user can make the line. Thanks for any help! [import]uid: 35535 topic_id: 19950 reply_id: 319950[/import]
Hi
Check out the flight path sample code at http://developer.anscamobile.com/code/flight-path you will need to modify a little but should get you started [import]uid: 103970 topic_id: 19950 reply_id: 77665[/import]
Hello,
Flight path is definitely not the right path to go, it does use a “line” but is not simple to modify. Not to degrade your answer mygamingproject.
There is a much better way to go i actually myself am probably trying to accomplish almost exactly what your doing Nate112, a game where there is a ball or some sort of object, you draw a line with physics, you drop it, you have a set limit of line (more challenging), then you get to your destination.
-
What I have done is made this, check the link out : http://developer.anscamobile.com/code/draw-line
-
But what someone used after i created this, which is more improved is this : http://developer.anscamobile.com/code/gerald-anderson
These links, more preferably the second is great for something you are trying to accomplish. Haha, even if it’s not what i produced 
On the other hand, for the limit it is no so easy. I took the harder path which I know is not the best and I know their is A MUCH BETTER WAY but i did not want to take the time to find out. I made a pixel size squares fitting the whole screen, IT TOOK A LONG TIME. The whole screen was therefore took up of a tiny squares which i added physic bodies too. When the line has a collision with the physic bodies, it has a negative effect to the overall limit. If the line hit 5 squares, it would be - 5 of the score. Yes this is the hard way, the stupid way but it works very well now. Which i had someone telling me this before 
I am making a similar game. If you need any more help ask. I went through this all 
* I have noticed that MANY people are trying to make games that involves the line, ansca should have a template, I think it will help many * [import]uid: 23689 topic_id: 19950 reply_id: 77668[/import]