Not sure if I follow:
>> unless you like entering a gazillion coordinates by hand.<<
>>Is there no simple way to have an object move through a bunch of predefined coordinates?<<
How do you create a set of predefined co-ords without that typing?
One answer is to use a mathematical formula to derive the next place (like ballistics or vector calculations)
Another is to knock up a screen whose job it is to do nothing more than register touch events and print them.
(Best done in the simulator where you have pixel level control with the mouse, rather than big lumpy finger control.
So the terminal fills up with
100,110
104,140
104, 160
and so on.
Copy the lot, then add these x,y pairs to a table in code.
I’d have a module set aside for just this.
define an array at the beginning, add the points to the array.
You can then move from point to point when the screen refreshes, on a time based system, or whatever you like, simply by getting the next point in the list and moving to it.
[import]uid: 108660 topic_id: 20092 reply_id: 84638[/import]