Tutorial: Working With Curved Paths

Posted by & filed under Tutorials, Tips and Demos.

curve-feat

If you want to move an object from point A to point B, the simplest approach is to use a transition, but what if you need to move it along a curved path generated by a bezier algorithm or the user’s “drawn” path on the screen? This tutorial outlines how to achieve both methods and set an object to follow the resulting path.


Tutorial: Incrementing Score Counter

Posted by & filed under Tutorials, Tips and Demos.

nums2

When you complete a level in a video game, it often shows your score in an animated fashion. Sometimes this involves the numbers “spinning” in such a way that they count up from the 1s column to the 10s column and so on, like an odometer of a car but much faster. Today’s tutorial shows how to easily accomplish this in Corona.