How to move an image across the screen

Hello! I am Wondering, how can I move an image across a path when the app starts?

–Thanks In Advance-- [import]uid: 86879 topic_id: 16475 reply_id: 316475[/import]

  1. you can increment the x and the y co-ordinates every frame
  2. you can use a transition.to to move the object to a new location over a period of time

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 16475 reply_id: 61492[/import]

Thanks for your help!! Although I do not see ways to do things on a curve, or on a specific course [import]uid: 86879 topic_id: 16475 reply_id: 61498[/import]

I think you can find information here:
http://developer.anscamobile.com/code/flight-path
http://developer.anscamobile.com/code/move-object-through-path

There are plenty of examples outthere, you just have to look further.

Regards
Javier [import]uid: 75034 topic_id: 16475 reply_id: 61510[/import]

Swello for curve you will need to use some math. Sine and cosine are your friends :wink:

or in lua :

math.sin
math.cos

[import]uid: 84637 topic_id: 16475 reply_id: 61558[/import]