Hi Everyone. I’ve been watching the Code of Martian Control Template here http://developer.anscamobile.com/code/martian-control and I want to try this: The ships land in the planets without drawing a path, I mean, each planet be the goal of certain ships but I want the ships move to the destination not only linearly, and that you have to touch them to destroy before land. But I dont know how to do that. Could you guys guide me about it please?
Thanks
[import]uid: 81363 topic_id: 17167 reply_id: 317167[/import]
I’m not totally sure what your goal is - you want to spawn ships, have them move toward a certain planet, then remove them if they’re touched at any point?
If you want them moving without drawing a line, try transition.to()
Peach
[import]uid: 52491 topic_id: 17167 reply_id: 64950[/import]
Thanks for answering Peach, by the way, thanks for the fantastic tutorials on Techority, I learned many things there.
What I would try to do in the Martian Controls sample is basically routes the ships in curved trajectories and that they destiny are the planets. I’m not an expert but I was thinking maybe these predefined paths can be on a table. But I dont know how and where to do that in this sample.
Regards [import]uid: 81363 topic_id: 17167 reply_id: 65077[/import]
Thank you - I always love hearing that Techority has been able to help someone learn more about Corona 
The sample really isn’t made for quite that kind of thing - but how good are you with tables? If you aren’t that experienced yet I’ll find a link to a great and detailed post on them by Jon Beebe that could help you get started.
Let me know 
Peach [import]uid: 52491 topic_id: 17167 reply_id: 65158[/import]
This blog helped me so much with tables from Jon Beebe!!
http://blog.anscamobile.com/2011/06/understanding-lua-tables-in-corona-sdk/
Jake
[import]uid: 51459 topic_id: 17167 reply_id: 65244[/import]