Screen Update

From http://docs.coronalabs.com/guide/media/displayObjects/index.html

The screen never updates while a block of Lua code is executing.
Therefore, if you modify a display object multiple times in a code block
— updating the x position, for example — only the last change (the final x setting) will reflect when the screen updates.

So, and if I want to show all the changes in the x position, for example?

What is written is that last change will be visible (per parameter) but per one code execution. However code is executed 30 times per second with 30fps set. So if you want to move object then you have to increase x for example with each execution and you will see it moving. To ease this problem there is transition.to() function which will do it for you

What is written is that last change will be visible (per parameter) but per one code execution. However code is executed 30 times per second with 30fps set. So if you want to move object then you have to increase x for example with each execution and you will see it moving. To ease this problem there is transition.to() function which will do it for you