How to create a movement

Hi to everyone, at first i apologize about my english, but i’m trying to improve my english.

Now, the question that i have: i’m trying to make a object moving at directions left-right and right-left with the bouncing into the borders with random speed. how i’ll make it?

i apologize again about my english.

thanks to everyone  :slight_smile:

can anyone reply? if you don’t understand something, ask me what and i’ll explain you it better

Hi @daviddume7,

Object movement is most often done in 2 ways: transitions or physics. You should begin by reading the following guides and watching the tutorial videos.

Transitions: http://docs.coronalabs.com/guide/media/transitionLib/index.html

Physics: http://docs.coronalabs.com/guide/physics/physicsSetup/index.html

http://youtu.be/u0B6f-7Invo

http://www.youtube.com/watch?v=nRsXKmCU4D8&feature=youtu.be

https://www.youtube.com/watch?v=qeHD69JhDQY&feature=youtu.be

Thank you so much Brent, you’re very helpful!

One BIG BIG BIG correction, Brent: movement can also be done really fast with simple mathematics. I always roll my own physics this way!

can anyone reply? if you don’t understand something, ask me what and i’ll explain you it better

Hi @daviddume7,

Object movement is most often done in 2 ways: transitions or physics. You should begin by reading the following guides and watching the tutorial videos.

Transitions: http://docs.coronalabs.com/guide/media/transitionLib/index.html

Physics: http://docs.coronalabs.com/guide/physics/physicsSetup/index.html

http://youtu.be/u0B6f-7Invo

http://www.youtube.com/watch?v=nRsXKmCU4D8&feature=youtu.be

https://www.youtube.com/watch?v=qeHD69JhDQY&feature=youtu.be

Thank you so much Brent, you’re very helpful!

One BIG BIG BIG correction, Brent: movement can also be done really fast with simple mathematics. I always roll my own physics this way!